php-activerecord is an open source ORM library based on the ActiveRecord pattern. It aims to massively simplify the interactions with your database and eliminate the chore of hand written SQL for common operations. Unlike other ORMs, you do not need to use any code generators nor maintain mapping files for your tables. This library was inspired by Ruby on Rails' implementation and therefore borrows many of its conventions and ideas. The best place to get started is by checking out the guides below! The library is licensed under the MIT License and so you are completely free to do whatever you want with it.
Latest News 
      - 
          php-activerecord 1.0 RC1 released! 
 After a long 0.9 beta we've released 1.0 RC1. Special thanks to everyone that submitted patches, bug reports and feedback. This release includes the following major new features:support for …
- 
          Welcome to www.phpactiverecord.org! 
 We're happy to finally have the site done! We've been doing a lot of documentation and guides over the past month. If you're new to php-activerecord or just interested in finding out what it …
Guides
- 
          Quick Start
 Just the basics to get up and running.
- 
          Configuration / Setup
 Configuration and setup options.
- 
          Conventions
 Introduction to the conventions used.
- 
          Basic CRUD
 How to perform basic CRUD operations.
- 
          Finders
 In-depth look at getting the data you need.
- 
          Associations
 Using table relationships with your models.
- 
          Validations
 These help ensure data integrity.
- 
          Callbacks
 Take control of your models.
- 
          Utilities
 Miscellaneous options and helpful short-cuts.