pipe / sql
Blazingly fast php sql util
v0.1.0
2022-10-23 07:16 UTC
Requires (Dev)
- pestphp/pest: ^1.22
README
Simple, purephp blazinglyfast Database helper(?)
Installation
composer require pipe/sql
Usage
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();
Philosophy
- 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!