activerecord – What's a good PHP Active Record library?-ThrowExceptions

Exception or error:

I’ve been using CodeIgniter for some quite time, and I’ve been extremely happy with its Active Record stuff. It’s great to query the database with it.

Recently I’ve started a new project and I can’t use such a framework anymore.

Is there a simple PHP Active Record library that does its job and gets out of the way (similar to CodeIgniter’s version)?

How to solve:

Are you explicitly looking for an implementation of the Active Record pattern?

If not you might want to look into an object-relational mapper (ORM), such as Doctrine or Propel. See also this question on SO.


you may want to check out


You may want to have a look at ADOdb.


You can also try this easy to use active record class which also uses an MySQL abstract layer.

Leave a Reply

Your email address will not be published. Required fields are marked *