Is there a PHP equivalent to Class::DBI?

I'm switching to PHP from Perl and really like the way Class::DBI works. What's the best way to do ORM w/ a MySQL database in PHP?

Thanks!
Zumpoof
zumpoofAsked:
Who is Participating?
 
Beverley PortlockConnect With a Mentor Commented:
There is a project called Doctrine which provides ORM using PDO as the database abstraction layer

http://en.wikipedia.org/wiki/Doctrine_%28PHP%29

http://www.doctrine-project.org/

I've never use it myself, but I've been tempted. If I had no legacy code issues and was starting from scratch then I would look at it more seriously.
0
 
Marck911Commented:
try PEAR MDB2 wich is a merge of the PEAR DB and Metabase php database abstraction layers. it works for several databases. here is some docs
http://pear.php.net/package/MDB2/docs
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.