Jump to content

PDO Wrapper?


antmeeks

Recommended Posts

I'm making the switch from years of using plain-jane 'deprecated' MySQL functions to PDO in a lot of my scripts.

 

Consequently, I'm looking for a good, well-known & well-liked PDO wrapper / extension class.

 

Something that automates some common db access functions (CRUD), handles try/catch/exceptions, and keeps track of metrics (query count, memory usage, etc.)...

 

If anyone can point me in a direction, I'd really appreciate it!!

Link to comment
https://forums.phpfreaks.com/topic/268463-pdo-wrapper/
Share on other sites

ezSQL is a big no-no IMO since it coded against PHP4. NotORM is a much better alternative since it has been coded against 5.x+ and actually has automated tests though it's over 2 years old and has 14 open issues...

 

Maybe the Zend\Db component is something for you?

https://github.com/zendframework/zf2/tree/master/library/Zend/Db/Adapter/Driver/Pdo

 

What kind of extensions built on top of PDO are you looking for? QueryObject?

Link to comment
https://forums.phpfreaks.com/topic/268463-pdo-wrapper/#findComment-1378687
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.