Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.15 KB

File metadata and controls

40 lines (28 loc) · 1.15 KB

🔥 Pipe DB SQL is Simple

Simple, purephp blazinglyfast Database helper(?)

Latest Stable Version Total Downloads License


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

  1. Small is Beautiful.
    • Do one thing,
    • Do one thing well.
  2. Get the PoC out ASAP.
    • Consider your code dead two weeks after inception.
  3. n'joy!

sounds familiar? It should!