views:

434

answers:

3

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)?

+3  A: 

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.

middus
yes i am really looking for the Active Record pattern. ORM usually deals with code-generation which i'm not fond of.
Luca Matteis
A: 

You may want to have a look at ADOdb.

Jim Swinson
+2  A: 

There is http://phpactiverecord.org which can be plugged into any framework.

jpfuentes2