P2GR / datamapper

CodeIgniter Datamapper
Other
35 stars 23 forks source link

datamapper

CodeIgniter Datamapper DataMapper is an Object Relational Mapper written in PHP for CodeIgniter. It is designed to map your Database tables into easy to work with objects, fully aware of the relationships between each other.

General Features

Everything is an object!
Easy to setup, easy to use.
Custom Validation on object properties.
Lazy Loading (related objects are only loaded upon access).
Relations and their integrity are automatically managed for you.
One to One, One to Many, and Many to Many relations fully supported.
Select data in the style of Active Record (with or without Method Chaining).