PHPackages                             aidsoul/pdo - 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. aidsoul/pdo

ActiveLibrary

aidsoul/pdo
===========

v1.2(2y ago)110411MITPHPPHP &gt;=8.0

Since Aug 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/aidsoul/pdo)[ Packagist](https://packagist.org/packages/aidsoul/pdo)[ RSS](/packages/aidsoul-pdo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)DependenciesVersions (6)Used By (1)

[![](https://camo.githubusercontent.com/b5a90622b2bb46cc00e5f2621c3a23d7ab208235f9d0538b5028d3ecd820c797/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f616964736f756c2f70646f)](https://github.com/aidsoul/pdo/releases/latest "GitHub release")PDO query builder
-----------------

[](#pdo-query-builder)

Installation
------------

[](#installation)

Installation with the command:

```
composer require aidsoul/pdo

```

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

[](#example-usage)

```
require_once  __DIR__  .  '/vendor/autoload.php';
use Aidsoul\Pdo\Db;

$host  =  'localhost';
$dbName  =  'test';
$user  =  'root';
$pass  =  '';

$db  =  new  Db("mysql:host={$host};dbname={$dbName}",  $user,  $pass);

// SELECT
$db->select()
->from('post')
->join('vkgroup')->on('group_id','id_group')
->orderBy(['id_post'  =>'ASC'])
->limit(50)
->execute()
->fetchAll();

// INSERT
$db->insert(['id_post','group_id'])
->into('post')
->values([66,28])
->execute();

// DELETE
$db->delete()
->from('post')
->where('group_id','=',113)->and('id_post','=',147)
->execute();

// UPDATE
$db->update('vkgroup')
->set(['name'=>'test'])
->where('id_group','=',111)
->and('name','=','before the test')
->execute();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

Every ~128 days

Total

4

Last Release

998d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/496f46da5b79aa3ef1bfacadafdc3c86ab57089853c0227b8596f8802d24fef1?d=identicon)[AidSoul](/maintainers/AidSoul)

---

Top Contributors

[![aidsoul](https://avatars.githubusercontent.com/u/47852283?v=4)](https://github.com/aidsoul "aidsoul (5 commits)")

---

Tags

mysql-query-builderpdopdo-phpphp

### Embed Badge

![Health badge](/badges/aidsoul-pdo/health.svg)

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

PHPackages © 2026

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