DataMapper ORM


DataMapper ORM

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.


Notice
As of this writing CI 3.0 has been recently released. Although there were plans by a previous maintainer to rewrite Datamapper from the ground up as a version 2.0, these plans are not currently something we are working on anymore.

Instead we are taking the original Datamapper version 1.X and expanding/updating it where neccesary. In the meantime, if you have any feature requests or other contributing comments, feel free to use the issue tracker on Github. Let's make Datamapper even more awsome then it already is!

General Features

If you are new to Datamapper ORM, please start here to get Datamapper ORM running on your server. Then follow along with the Next Topic links at the bottom of each page.

If you are an existing Datamapper ORM user, you will find changes in new releases and upgrade instructions.

Note: Datamapper ORM is now also available as a CI Spark: check out the cool way of extending CodeIgniter at getsparks.org!

DataMapper ORM

This is the latest incarnation of the Datamapper library. After Phil had indicated he no longer had the time available to support his OverZealous Edition, Datamapper ORM is now being developed and maintained by WanWizard.

DataMapper, OverZealous Edition

This came from a desire to continue to enhance and develop DataMapper, and has been developed and maintained by Phil DeJarnett. DMZ is a near drop-in replacement if you are already using DataMapper 1.6.0 (and possibly older versions).

The Original DataMapper

DataMapper (for CodeIgniter) was originally developed by Simon Stenhouse. The basic design and original development was by him.

 

Some of the enhancements to the original DataMapper include:

If you would like to upgrade to Datamapper ORM from DMZ or the original DataMapper, please see the upgrade guide.

Custom Development

Are you looking for some custom development for DataMapper? Do you need an experienced PHP developer that knows both DataMapper and CodeIgniter inside and out to help you build your application?

Please contact JavaScript must be enabled to see my email. for details.