Simple, purephp blazinglyfast Database helper(?)
composer require pipe/sql
Instantiate the class directly, or find a way to Singletonize it in your project.
$db = (new Pipe\SQL())->connect($host, $user, $pass, $name);
$db->raw("SELECT * FROM users")->all();
- Small is Beautiful.
- Do one thing,
- Do one thing well.
- Get the PoC out ASAP.
- Consider your code dead two weeks after inception.
- n'joy!
sounds familiar? It should!