PHPActiveRecord is an open source ORM library based on the ActiveRecord pattern. The library was inspired by Ruby on Rails' implementation and therefore borrows many of its conventions and ideas.