Simple PHP PDO Wrapper : light, static, easy
A few days ago, I was looking for a PDO wrapper to work with a small PHP application. I’ve searched around and found fractalizer’s PDO wrapper nearest to my purpose. Then I just wrote my wrapper on the shadow of his one.
Let’s see what’s inside and how it works.
Features
- Easy to use.
- Works with MySQL and Sqlite.
- All pubic functions works statically.
- Connection string created internally.
Download files
Download the PHP PDO wrapper (downloaded 1443 times).
The download archive includes -
- Db.php – the PDO Wrapper class.
- DbTest.php – Unit testing class for Db.
- DbExample.php – Example of some common uses.
- Some other unit test related files.













