RedBeanPHP

RedBeanPHP is an independent, free, BSD licensed, open-source object–relational mapping (ORM) software written by Gabor de Mooij.

Code example, demonstrating a simple CRUD operation and a relation: RedBeanPHP is the first library known to adopt the on-the-fly approach towards ORM.

Similar libraries have appeared for .NET,[1] Python,[2] JavaScript,[3] Java,[4] Erlang,[5] ColdFusion[6] and Objective-C.[7] While being an independent library, plugin modules have been developed for various popular frameworks like: Laravel,[8] CodeIgniter,[9] Kohana,[10] Silex[11] and Zend Framework.

Because RedBeanPHP is very accessible and it does not hide the SQL language it is used by Universities to teach database programming.

[15] According to a forum post by Gabor himself the library has been inspired by a rant about object relational mapping systems by Ted Neward called the 'ORM, Vietnam of computer science'.