MySQLi Wrapper for PHP

I was very much interested in the database class of CodeIgniter, especially the Active Records. I was quite satisfied with an old mysql wrapper that I have been using for long time. But I’ve decided to start using MySQLi for all my future projects so started to write my own database wrapper for php. php.net