alanrew edited this page Jul 12, 2012 · 14 revisions
Clone this wiki locally

Note: This library is no longer maintained

It has been replaced by Datamapper ORM


DataMapper by


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.


- 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).

Downloading, Installing and Using DataMapper

DataMapper is fully documented with instructions on how to get your CodeIgniter installation setup with DataMapper and how you can actually use it.


- DataMapper User Guide

- DataMapper Source Files



You can discuss DataMapper in the CodeIgniter forum's DataMapper thread.


Created by stensi of


Category:Library::Database | Category:Libraries::Database | Category:Contributions::Libraries::Database | Category:Models