PHPackages                             smoench/messenger-idle-doctrine-close-connection - 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. smoench/messenger-idle-doctrine-close-connection

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

smoench/messenger-idle-doctrine-close-connection
================================================

Provides an idle based doctrine close connection

10PHP

Since May 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/smoench/messenger-idle-doctrine-close-connection)[ Packagist](https://packagist.org/packages/smoench/messenger-idle-doctrine-close-connection)[ RSS](/packages/smoench-messenger-idle-doctrine-close-connection/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

messenger-idle-doctrine-close-connection
========================================

[](#messenger-idle-doctrine-close-connection)

The combination of `DoctrinePingConnectionMiddleware` and `DoctrineCloseConnectionMiddleware` on a queue with periodically incoming thousands of messages at the same time will results to heavy I/O operations. This subscriber will only close the connection when the worker is in idle mode insteadof close the connection after each message.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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://www.gravatar.com/avatar/815106eb77d0f80a59339c9e492ff0318e696315608dc0e4a11ce95c9859c163?d=identicon)[smoench](/maintainers/smoench)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/smoench-messenger-idle-doctrine-close-connection/health.svg)

```
[![Health](https://phpackages.com/badges/smoench-messenger-idle-doctrine-close-connection/health.svg)](https://phpackages.com/packages/smoench-messenger-idle-doctrine-close-connection)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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