PHPackages                             bimacoding/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. bimacoding/pdox

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

bimacoding/pdox
===============

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

1.0(3y ago)0191MITPHPPHP &gt;=5.5

Since Dec 6Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (1)

PDOx
----

[](#pdox)

```
 _____  _____   ____
 |  __ \|  __ \ / __ \
 | |__) | |  | | |  | |_  __
 |  ___/| |  | | |  | \ \/ /
 | |    | |__| | |__| |>  <
 |_|    |_____/ \____//_/\_\

```

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

[![Total Downloads](https://camo.githubusercontent.com/593cf1656b8390b53de54826189ca83f6aaa3998f59fb068c45020ad17e814fd/68747470733a2f2f706f7365722e707567782e6f72672f62696d61636f64696e672f70646f782f642f746f74616c2e737667)](https://packagist.org/packages/bimacoding/pdox)[![Latest Stable Version](https://camo.githubusercontent.com/ec434c2091f99cfbd91a00cd484e46fec391d1b80ac84675f7a4b31a8e282be9/68747470733a2f2f706f7365722e707567782e6f72672f62696d61636f64696e672f70646f782f762f737461626c652e737667)](https://packagist.org/packages/bimacoding/pdox)[![Latest Unstable Version](https://camo.githubusercontent.com/51d57f283162ac970b4157de9a28def03120fe8896774436679fcc352a80099a/68747470733a2f2f706f7365722e707567782e6f72672f62696d61636f64696e672f70646f782f762f756e737461626c652e737667)](https://packagist.org/packages/bimacoding/pdox)[![License](https://camo.githubusercontent.com/2bc10418b0b0df0658ece4474be91127fd3563aac8c6484e14d5910323c07c1f/68747470733a2f2f706f7365722e707567782e6f72672f62696d61636f64696e672f70646f782f6c6963656e73652e737667)](https://packagist.org/packages/bimacoding/pdox)

Install
-------

[](#install)

composer.json file:

```
{
    "require": {
        "bimacoding/pdox": "^1"
    }
}
```

after run the install command.

```
$ composer install

```

OR run the following command directly.

```
$ composer require bimacoding/pdox

```

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

Docs
----

[](#docs)

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

Support
-------

[](#support)

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

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

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)

- [bimacoding](https://github.com/bimacoding) İzni Burak Demirtaş - creator, maintainer
- [Others](https://github.com/bimacoding/pdox/graphs/contributors)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1260d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b156c8695cdca5806090f543f6d59128c24593175a033f905302985f98a0212?d=identicon)[bimacoding](/maintainers/bimacoding)

---

Top Contributors

[![bimacoding](https://avatars.githubusercontent.com/u/61307168?v=4)](https://github.com/bimacoding "bimacoding (1 commits)")

---

Tags

phpsqlpdoquerybuilder

### Embed Badge

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

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

###  Alternatives

[izniburak/pdox

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

30221.1k7](/packages/izniburak-pdox)[envms/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

925511.7k13](/packages/envms-fluentpdo)[lichtner/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

921274.8k6](/packages/lichtner-fluentpdo)[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k22.9k](/packages/clouddueling-mysqldump-php)[noahheck/e_pdostatement

Drop in replacement for default PDOStatement class allowing devs to view an interpolated version of a parameterized query

5121.2k](/packages/noahheck-e-pdostatement)

PHPackages © 2026

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