PHPackages                             quioteframework/session-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. [File &amp; Storage](/categories/file-storage)
4. /
5. quioteframework/session-pdo

ActiveLibrary[File &amp; Storage](/categories/file-storage)

quioteframework/session-pdo
===========================

PDO-backed session storage for Quiote: a SessionPersistenceInterface implementation for SessionManager, plus a native SessionHandlerInterface implementation for the legacy Storage subsystem.

v3.1.0(3w ago)025↓50%1MITPHPPHP &gt;=8.5.0

Since Jul 4Pushed 1mo agoCompare

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

READMEChangelogDependencies (3)Versions (15)Used By (1)

quioteframework/session-pdo
===========================

[](#quioteframeworksession-pdo)

PDO-backed session storage for [Quiote](https://github.com/quioteframework/quiote). Ships two independent implementations against Quiote's two session mechanisms:

- **`Quiote\Session\Pdo\PdoSessionPersistence`** implements `Quiote\Session\SessionPersistenceInterface` (`load`/`save`/`delete`), the backend for `Quiote\Session\SessionManager` — the modern, PSR-7-based session mechanism, safe under persistent worker runtimes (FrankenPHP, RoadRunner). **Prefer this for new code.**
- **`Quiote\Storage\Pdo\PdoSessionStorage`** implements PHP's native `SessionHandlerInterface` for the legacy `Storage`/`SessionStorage` mechanism (`$_SESSION`/`session_start()`). Kept for apps already built on that mechanism.

Install
-------

[](#install)

```
composer require quioteframework/session-pdo

```

Both expect a table shaped like:

```
CREATE TABLE session (
    sess_id   VARCHAR(64) PRIMARY KEY,
    sess_data BYTEA/BLOB/TEXT NOT NULL,
    sess_time TIMESTAMP NOT NULL
);
```

`PdoSessionPersistence`
-----------------------

[](#pdosessionpersistence)

```
$manager = new \Quiote\Session\SessionManager(
    new \Quiote\Session\Pdo\PdoSessionPersistence($pdo, table: 'session'),
);
```

`PdoSessionStorage`
-------------------

[](#pdosessionstorage)

Configure via `storage.xml`/factories with the required `db_table` parameter (optional: `database`, `db_id_col`, `db_data_col`, `db_time_col`, `data_as_lob`, `date_format`) — see the class docblock for the full list.

License
-------

[](#license)

MIT. See [LICENSE](LICENSE).

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance93

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

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 ~3 days

Total

14

Last Release

13d ago

Major Versions

v1.2.4 → v2.0.12026-07-04

v2.0.1 → v3.0.02026-07-29

v3.1.0 → v4.0.0-RC12026-08-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb797c6fce78d07eb743846f7940d790f425831024c283cdfed7dd02d9bcac69?d=identicon)[markus\_saakeli](/maintainers/markus_saakeli)

---

Top Contributors

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

---

Tags

pdostoragesessionquiote

### Embed Badge

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

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

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k694.3M2.8k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k293.8M1.2k](/packages/league-flysystem-aws-s3-v3)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

3012.8M50](/packages/league-flysystem-async-aws-s3)

PHPackages © 2026

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