PHPackages                             atlas/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. [Database &amp; ORM](/categories/database)
4. /
5. atlas/pdo

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

atlas/pdo
=========

Provides a PDO instance decorator with convenience methods, and a connection manager.

2.0.1(10mo ago)18265.6k↓22.3%7[3 PRs](https://github.com/atlasphp/Atlas.Pdo/pulls)8MITPHPPHP ^8.0CI failing

Since Apr 7Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/atlasphp/Atlas.Pdo)[ Packagist](https://packagist.org/packages/atlas/pdo)[ Docs](https://github.com/atlasphp/Atlas.Pdo)[ RSS](/packages/atlas-pdo/feed)WikiDiscussions 2.x Synced 3d ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (8)

Atlas.Pdo
=========

[](#atlaspdo)

This package provides a *Connection* that decorates any [PDO](http://php.net/PDO)instance to provide the following:

- A `perform()` that method acts just like `query()`, but binds values to a prepared statement as part of the call.
- Several `fetch*()` methods to return results in commonly-occurring situations.
- Several `yield*()` methods as `fetch*()` equivalents to yield results instead of returning them.
- Query logging, including backtraces to find where queries were issued.

This package also provides a *ConnectionLocator* to register, instantiate, and retain named *Connection* objects for default, read (slave), and write (master) databases.

Read the documentation [here](http://atlasphp.io/dymaxion/pdo/).

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance75

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 61.3% 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 ~246 days

Recently: every ~426 days

Total

12

Last Release

306d ago

Major Versions

1.x-dev → 2.0.02021-05-31

PHP version history (2 changes)1.0.0-alpha1PHP &gt;=7.1

2.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25754?v=4)[Paul M. Jones](/maintainers/pmjones)[@pmjones](https://github.com/pmjones)

---

Top Contributors

[![pmjones](https://avatars.githubusercontent.com/u/25754?v=4)](https://github.com/pmjones "pmjones (19 commits)")[![niden](https://avatars.githubusercontent.com/u/1073784?v=4)](https://github.com/niden "niden (5 commits)")[![n1215](https://avatars.githubusercontent.com/u/2157593?v=4)](https://github.com/n1215 "n1215 (2 commits)")[![ElGigi](https://avatars.githubusercontent.com/u/18268216?v=4)](https://github.com/ElGigi "ElGigi (1 commits)")[![adamdyson](https://avatars.githubusercontent.com/u/609950?v=4)](https://github.com/adamdyson "adamdyson (1 commits)")[![MrPetovan](https://avatars.githubusercontent.com/u/925415?v=4)](https://github.com/MrPetovan "MrPetovan (1 commits)")[![consatan](https://avatars.githubusercontent.com/u/1174105?v=4)](https://github.com/consatan "consatan (1 commits)")[![dbraff](https://avatars.githubusercontent.com/u/15754090?v=4)](https://github.com/dbraff "dbraff (1 commits)")

---

Tags

databasesqlpdoConnection

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k605.0M6.8k](/packages/doctrine-dbal)[ifsnop/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k6.0M77](/packages/ifsnop-mysqldump-php)[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4883.1M39](/packages/aura-sqlquery)[paragonie/easydb

Easy-to-use database abstraction

740283.0k24](/packages/paragonie-easydb)[clouddueling/mysqldump-php

PHP version of mysqldump cli that comes with MySQL

1.3k23.2k](/packages/clouddueling-mysqldump-php)[ezsql/ezsql

Advance database access library. Make interacting with a database ridiculously easy. An universal interchangeable CRUD system.

86849.1k](/packages/ezsql-ezsql)

PHPackages © 2026

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