Automate SQL. Focus on business logic.

Overview

dORM is a PHP 5 ORM (object relational mapper) library that seamlessly loads, saves and deletes PHP objects from and to a relational database (currently, only MySQL was tested). dORM requires a small XML file that maps classes to their respective database tables. We plan to offer automatic mapping in a future release. Get started »

Features

  • Simple of use

    $dorm->getClassName("id");
    $dorm->save($object);
    $dorm->delete($object);

  • Supports multiple data types
    • Scalars (string, integer, float, boolean)
    • Objects
    • Arrays
  • Supports multiple relationships
    • One-to-one
    • One-to-many
    • Many-to-many
  • No code generation
  • No class extending
  • No naming convention
  • No directory structure
  • No modification of your classes
  • No modification of your database

Latest download

dORM 0.0.3 (unstable)

Latest blog posts