2017 © Pedro Peláez
 

library fw-orm

ORM for FW

image

smeeckaert/fw-orm

ORM for FW

  • Sunday, September 20, 2015
  • by smeeckaert
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Orm

This is a lightweight standalone ORM in PHP. It was primarly made to use for simple REST APIs., (*1)

What it does

  • Uses PDO as interface
  • Provide Model helpers for CRUD
  • Provide helpers to access relations
  • Use PHPDoc as documentation
  • Based on PHP, not in configuration.

What is not supported and won't be

This library is willingly simplified., (*2)

If you want to use these features, there is plenty other ORM available that do it probably better !, (*3)

  • Transactions
  • Complexes query. Queries are simple, you can't mix "OR" and "AND" in the ORM, even if you can "bypass" that.
  • Relations. While there is some support for accessing or creatin model relations, it won't be near what other ORM can provide.
  • Multiple databases.

Installation

Clone the depot and add the Orm namespace in your autoloader., (*4)

Then put database informations in your application bootstrap., (*5)

$dsn      = 'mysql:dbname=YOUR_DB;host=YOUR_HOST';
$user     = 'YOUR USER';
$password = 'YOUR_PASSWORD';
\Orm\DB::init($dsn, $user, $password);

Documentation

See the wiki, (*6)

License

Everything here is public domain., (*7)

The Versions

20/09 2015

dev-master

9999999-dev

ORM for FW

  Sources   Download

Unlicense

The Requires

 

by Martin Smeeckaert

20/09 2015

1.0.0.0

1.0.0.0

ORM for FW

  Sources   Download

Unlicense

The Requires

 

by Martin Smeeckaert