Skip to content

pdo easy and fast speed query builder framework strong database class.

License

Notifications You must be signed in to change notification settings

ismail0234/pdodatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads License

pdo easy and fast speed query builder framework strong database class.

Change Log

Documentation

License

IMPORTANT! Note: requires ext-pdo: *

Composer Install

composer require ismail0234/pdodatabase

Install

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,
));

Query Log

$db->debugOutput();

Output:

Query Log Output

alt text

Debug

alt text