php.ActiveRecord 1.0

php.ActiveRecord is an open source PHP ORM library based on the ActiveRecord pattern. The library was inspired by Ruby on Rails' implementation.

Features of php.ActiveRecord:
- Finder methods
- Dynamic finder methods
- Writer methods
- Relationships
- Validations
- Callbacks
- Serializations (JSON/XML)
- Transactions
- Support for multiple adapters
- Miscellaneous options such as: aliased/protected/accessible attributes

Supported Databases:
- MySQL
- SQLite
- PostgreSQL
- Oracle

Requirements:
- PHP 5.3 or Higher
- PDO driver for your respective database

What's New in This Version:
- Fixed an error with eager loading when no records exist.
- Fixed set methods on DateTime objects to properly flag attributes as dirty.
- Fixed a memory leak when using validations.
- Fixed problem with some model functionality not working correctly after being deserialized.
- Fixed validates_numericality_of to not ignore other options when only_integer is present and matches.
- Fixed ambiguous id error when finding by pk with a join option.
- Fixed conditions to accept DateTime values.
- Changed serialization to serialize datetime fields as strings instead of the actual DateTime objects.
- Model::transaction() now returns true if commit was successful otherwise false.

License type: MIT
Date added: 2 years, 7 days ago | Last updated: 2 years, 6 days ago

More popular Database Tool

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

php-activerecord
  • .gitignore
  • 46 Bytes
  • 06/28/2010 01:35:20
test
helpers
sql
  • oci-after-fixtures.sql
  • 829 Bytes
  • 06/28/2010 01:35:20
  • mysql.sql
  • 2.0 KB
  • 06/28/2010 01:35:20
  • sqlite.sql
  • 1.8 KB
  • 06/28/2010 01:35:20
Hot Scripts
Sponsors