开发者

Codeigniter like Database class

开发者 https://www.devze.com 2023-02-24 03:37 出处:网络
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 ru

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

0

精彩评论

暂无评论...
验证码 换一张
取 消