user652650
user652650

Reputation: 638

Codeigniter like Database class

I am moving onto making some open source software for kicks, from scratch (not using a framework) and I was building my own database class to use, so queries would be simpler and all run through the same methods.

Ideally it would work like codeigniters database class:

$db->where("field", "value");
$db->get();

So on and so forth, and decided I may as well not reinvent the wheel if there is already something out there like it, though google searching didn't bring me much.

Any ideas? Thanks guys.

Upvotes: 1

Views: 600

Answers (1)

TaylorOtwell
TaylorOtwell

Reputation: 7337

Check out Idiorm, a fluent query builder for PHP5+.

https://github.com/j4mie/idiorm

Upvotes: 4

Related Questions