PHPackages                             moln/swoole-doctrine-pool - 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. moln/swoole-doctrine-pool

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

moln/swoole-doctrine-pool
=========================

Using doctrine pool for swoole

0.1.1(1y ago)03MITPHPPHP &gt;=8.1

Since Nov 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Moln/swoole-doctrine-pool)[ Packagist](https://packagist.org/packages/moln/swoole-doctrine-pool)[ RSS](/packages/moln-swoole-doctrine-pool/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (0)

Swoole doctrine pool
====================

[](#swoole-doctrine-pool)

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

[](#installation)

```
composer require moln/swoole-doctrine-pool
```

Usage
-----

[](#usage)

```
use Moln\SwooleDoctrinePool\DoctrineDbalPool;

class DemoController {
   public function __construct(private DoctrineDbalPool $pool) {}

   public function handle() {
        $result = [];
        $dbPool = $this->pool;
        for ($i = 0; $i < 10; $i++) {
            go(function () use ($dbPool, &$result) {
                $conn = $dbPool->get();
                $result[] = $conn->executeQuery('SELECT now() as "now", sleep(1)')->fetchOne();
                $dbPool->put($conn);
            });
        }

        return $result;
   }
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

530d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc59373bf8678b7852e4fffd0b9154a50db68a27ccb38aa71c12f52f229888b1?d=identicon)[Moln](/maintainers/Moln)

---

Top Contributors

[![Moln](https://avatars.githubusercontent.com/u/2050694?v=4)](https://github.com/Moln "Moln (2 commits)")

---

Tags

doctrineswoolepool

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/moln-swoole-doctrine-pool/health.svg)

```
[![Health](https://phpackages.com/badges/moln-swoole-doctrine-pool/health.svg)](https://phpackages.com/packages/moln-swoole-doctrine-pool)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58523.9M35](/packages/scienta-doctrine-json-functions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14295.2k1](/packages/flow-php-doctrine-dbal-bulk)

PHPackages © 2026

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