简体   繁体   中英

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.

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

https://github.com/j4mie/idiorm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM