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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.