2017 © Pedro Peláez
 

library pdox

Useful Query Builder, PDO Class for PHP. A simple access to your SQL records.(FIXED by tuadmin)

image

tuadmin/pdox

Useful Query Builder, PDO Class for PHP. A simple access to your SQL records.(FIXED by tuadmin)

  • Friday, January 5, 2018
  • by tuadmin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 49 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

PDOx

Fast, efficient and useful Query Builder and PDO Class for #PHP, (*1)

Total Downloads Latest Stable Version Latest Unstable Version License, (*2)

Install

composer.json file:, (*3)

{
    "require": {
        "tuadmin/pdox": "dev-master"
    }
}

after run the install command., (*4)

$ composer install

OR run the following command directly., (*5)

$ composer require tuadmin/pdox:dev-master

Example Usage

require 'vendor/autoload.php';

$config = [
    'host'      => 'localhost',
    'driver'    => 'mysql',
    'database'  => 'test',
    'username'  => 'root',
    'password'  => '',
    'charset'   => 'utf8',
    'collation' => 'utf8_general_ci',
    'prefix'     => ''
];

$db = new \Buki\Pdox($config);

$records = $db->table('users')
        ->select('id, name, surname, age')
        ->where('age', '>', 18)
        ->orderBy('id', 'desc')
        ->limit(20)
        ->getAll();

var_dump($records);
//other example
$db = new \Buki\Pdox([
    'host'      => '192.168.1.2:3607',
    'driver'    => 'mysql',
    'database'  => 'test',
    'username'  => 'root',
    'password'  => '']);
$records = $db->table('users')
        ->select('id, name, surname, age')
        ->getAll();
var_dump($records);     

Docs

Documentation page: PDOx Docs, (*6)

Support

izniburak's homepage, (*7)

izniburak's twitter, (*8)

Licence

MIT Licence, (*9)

Contributing

  1. Fork it ( https://github.com/izniburak/pdox/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • izniburak İzni Burak Demirtaş - creator, maintainer

The Versions

05/01 2018

dev-master

9999999-dev https://github.com/tuadmin/PDOx

Useful Query Builder, PDO Class for PHP. A simple access to your SQL records.(FIXED by tuadmin)

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-pdo *

 

orm sql php query pdo builder

05/01 2018

1.0.1

1.0.1.0 https://github.com/tuadmin/PDOx

Useful Query Builder, PDO Class for PHP. A simple access to your SQL records.(FIXED by tuadmin)

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-pdo *

 

orm sql php query pdo builder

05/01 2018

1.0.2

1.0.2.0 https://github.com/tuadmin/PDOx

Useful Query Builder, PDO Class for PHP. A simple access to your SQL records.(FIXED by tuadmin)

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-pdo *

 

orm sql php query pdo builder

05/01 2018

1.0.0

1.0.0.0 https://github.com/tuadmin/PDOx

Useful Query Builder, PDO Class for PHP. A simple access to your SQL records.(FIXED by tuadmin)

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-pdo *

 

orm sql php query pdo builder