DataMapper ORM

DataMapper ORM

DataMapper is no longer being maintained by WanWizard!
The new maintainer is CodeIgniter forum member "maglok" ("saekort" on Github). You can find the latest source here. You will be redirected to his documentation website.

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

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!

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.

Support DataMapper

If you use DataMapper in your applications, please consider donating to support the ongoing development, maintenance and support of DataMapper. Any amount is highly appreciated.

You can donate via PayPal using the button in the upper-right corner of the page.

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.