MeekroDB is a PHP MySQL library that lets you get more done with fewer lines of code, and prevents SQL injection.
MeekroDB is an open-source PHP MySQL library that lets you get more done with fewer lines of code.
Most web apps will only ever talk to one database. This means that passing $db objects to every function of your code just adds unnecessary clutter. The simplest approach is to use static methods such as DB::query(), and that's how MeekroDB works. Still, if you need database objects, MeekroDB can do that too.