the simple
ORM for PHP

Empower your PHP applications
by giving them a light and simple ORM

Read more

Download

datajar repository

Community

Mailing list XMPP MUC

Simple

Datajar is a simple and easy-to-use ORM for PHP. Say goodbye to your lengthy configuration files and difficult migrations, Datajar will do this transparently for you.

$myclass = new Class();
$myclass->save();

Integrated

Datajar integrates directly with your projects by mapping classes on to database tables or documents. Thus you can focus on programming and leave out all the schema niceties.

class MyClass extends DatajarBase
{
	protected $testvar;

	function __construct()
	{
		$this->testvar = DatajarType::int();
	}
}

Compatible

Support for MySQL, SQLite and MongoDB is already implemented. Database drivers are easy to write and new ones are coming up.