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 wo开发者_运维百科uld 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.
Check out Idiorm, a fluent query builder for PHP5+.
https://github.com/j4mie/idiorm
精彩评论