PHPackages                             tuadmin/pdox - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. tuadmin/pdox

ActiveLibrary[Database &amp; ORM](/categories/database)

tuadmin/pdox
============

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

1.0.2(8y ago)016MITPHPPHP &gt;=5.4.0

Since Jan 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tuadmin/pdox)[ Packagist](https://packagist.org/packages/tuadmin/pdox)[ Docs](https://github.com/tuadmin/PDOx)[ RSS](/packages/tuadmin-pdox/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

PDOx
----

[](#pdox)

Fast, efficient and useful Query Builder and PDO Class for #PHP

[![Total Downloads](https://camo.githubusercontent.com/b44b03f0fe6dc13ba8f611701a5d38b4b95a0ccaf2359b0959bb2a6dd011d083/68747470733a2f2f706f7365722e707567782e6f72672f697a6e69627572616b2f70646f782f642f746f74616c2e737667)](https://packagist.org/packages/izniburak/pdox)[![Latest Stable Version](https://camo.githubusercontent.com/a42e3ee6bee1613737dd809d62a731e31d2d36f46a47403fe671c216dd349d86/68747470733a2f2f706f7365722e707567782e6f72672f697a6e69627572616b2f70646f782f762f737461626c652e737667)](https://packagist.org/packages/izniburak/pdox)[![Latest Unstable Version](https://camo.githubusercontent.com/a2e50cfaa2bfab6ff6a8e516c3deb3e81462576546a8fb7d9a758670158071b4/68747470733a2f2f706f7365722e707567782e6f72672f697a6e69627572616b2f70646f782f762f756e737461626c652e737667)](https://packagist.org/packages/izniburak/pdox)[![License](https://camo.githubusercontent.com/1f9907c0e2c5e6ae95fd0755747e11d4b4a30a1a40c30eeafcead571a6ff1020/68747470733a2f2f706f7365722e707567782e6f72672f697a6e69627572616b2f70646f782f6c6963656e73652e737667)](https://packagist.org/packages/izniburak/pdox)

Install
-------

[](#install)

composer.json file:

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

after run the install command.

```
$ composer install

```

OR run the following command directly.

```
$ composer require tuadmin/pdox:dev-master

```

Example Usage
-------------

[](#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
----

[](#docs)

Documentation page: [PDOx Docs](https://github.com/izniburak/PDOx/blob/master/DOCS.md)

Support
-------

[](#support)

[izniburak's homepage](http://burakdemirtas.org)

[izniburak's twitter](https://twitter.com/izniburak)

Licence
-------

[](#licence)

[MIT Licence](http://opensource.org/licenses/MIT)

Contributing
------------

[](#contributing)

1. Fork it (  )
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
------------

[](#contributors)

- [izniburak](https://github.com/izniburak) İzni Burak Demirtaş - creator, maintainer

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 95.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3052d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c4ea5db07e6dcc44a14b38b8602b32bd3d1460577d8e10b3ae1a6967d6d62fb?d=identicon)[tuadmin](/maintainers/tuadmin)

---

Top Contributors

[![izniburak](https://avatars.githubusercontent.com/u/4693615?v=4)](https://github.com/izniburak "izniburak (148 commits)")[![tuadmin](https://avatars.githubusercontent.com/u/795061?v=4)](https://github.com/tuadmin "tuadmin (6 commits)")[![emresaracoglu](https://avatars.githubusercontent.com/u/297968?v=4)](https://github.com/emresaracoglu "emresaracoglu (1 commits)")

---

Tags

phpormsqlpdoquerybuilder

### Embed Badge

![Health badge](/badges/tuadmin-pdox/health.svg)

```
[![Health](https://phpackages.com/badges/tuadmin-pdox/health.svg)](https://phpackages.com/packages/tuadmin-pdox)
```

###  Alternatives

[izniburak/pdox

Useful Query Builder, PDO Class for PHP. A simple access to your SQL records.

30221.1k7](/packages/izniburak-pdox)[nilportugues/sql-query-builder

An elegant lightweight and efficient SQL QueryInterface BuilderInterface supporting bindings and complicated query generation.

425239.4k6](/packages/nilportugues-sql-query-builder)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
