PHPackages                             nitecon/zdbsession - 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. nitecon/zdbsession

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

nitecon/zdbsession
==================

Zend Framework 2 DB Session managment with doctrine

31862[1 issues](https://github.com/Nitecon/zdbsession/issues)PHP

Since Oct 7Pushed 12y ago2 watchersCompare

[ Source](https://github.com/Nitecon/zdbsession)[ Packagist](https://packagist.org/packages/nitecon/zdbsession)[ RSS](/packages/nitecon-zdbsession/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

zDbSession
==========

[](#zdbsession)

Note: using a mapper for sessions may cause anxiety attacks, panic and chaos. I did it and I confirm the symptoms. You should probably use the raw dbal connection …

On 7 Jun 2013 00:05, "Tim Roediger"  wrote: It can be done. As @bakura10  said, just write a new storage class and specify it in the config. However, you may want to avoid using doctrine itself to persist to the db. If you do, you can't use anything in the session until after doctrine has bootstrapped, which is normally later than you might want in the zf2 request handling process.

— Reply to this email directly or view it on GitHub[doctrine/DoctrineModule#270 (comment)](https://github.com/doctrine/DoctrineModule/issues/270#issuecomment-19077445)

After many hours of trying to get this to work properly I finally gave up, as mentioned above the main issue that exists is "you can't use anything in the session until after doctrine has bootstrapped" which is rather annoying issue to get by. I will leave the module up for educational purposes only but my other DBSessionStorage module should be used in place of this one.

Link for DBSessionStorage is here:

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity16

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/665977?v=4)[Will](/maintainers/Nitecon)[@nitecon](https://github.com/nitecon)

---

Top Contributors

[![nitecon](https://avatars.githubusercontent.com/u/665977?v=4)](https://github.com/nitecon "nitecon (7 commits)")

### Embed Badge

![Health badge](/badges/nitecon-zdbsession/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k116.5M113](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[pgvector/pgvector

pgvector support for PHP

198628.3k10](/packages/pgvector-pgvector)

PHPackages © 2026

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