pdo easy and fast speed query builder framework strong database class.
- See ChangeLog
- See License
IMPORTANT! Note: requires ext-pdo: *
composer require ismail0234/pdodatabase
use IS\QueryBuilder\Database\PDOClient;
include "vendor/autoload.php";
$db = new PDOClient(array(
// Server Ip Default: localhost
'ip' => 'localhost',
// Database Name
'database' => 'databasename',
// Database Engine Name oracle,mysql ...
'dbengine' => 'mysql',
// Database Username
'username' => 'root',
// Database Password
'password' => '123456',
// Database Charset Default: utf8
'charset' => 'utf8',
// Database table prefix Default: null
'prefix' => 'is_',
// Database exception Default: on
'exception' => true,
// Database persistent connection timeout Default: false
'persistent' => 30,
// Database query log Default: off
'querylog' => false,
));
$db->debugOutput();
Output: