PHPackages                             switon/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. [Framework](/categories/framework)
4. /
5. switon/pool

ActiveLibrary[Framework](/categories/framework)

switon/pool
===========

Connection pooling and resource lifecycle management for Switon Framework

v1.0.0(1mo ago)0394MITPHPPHP &gt;=8.3CI passing

Since May 9Pushed 1mo agoCompare

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

READMEChangelogDependencies (5)Versions (2)Used By (4)

Switon Pool Package
===================

[](#switon-pool-package)

Connection pooling and borrowed-resource lifecycle management for Switon Framework.

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

[](#installation)

```
composer require switon/pool
```

**Requirements:** PHP 8.3+

Quick Start
-----------

[](#quick-start)

```
use Switon\Core\Attribute\Autowired;
use Switon\Pooling\PoolManagerInterface;

final class DemoConnection
{
    public function ping(): string
    {
        return 'pong';
    }
}

final class DemoService
{
    #[Autowired] protected PoolManagerInterface $poolManager;

    public function ping(): string
    {
        $conn = $this->poolManager->guard($this, timeout: 1.0);
        return $conn->ping();
    }
}
```

Docs:

License
-------

[](#license)

MIT.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance94

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

31d ago

### Community

Maintainers

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

---

Top Contributors

[![switon-php](https://avatars.githubusercontent.com/u/247358032?v=4)](https://github.com/switon-php "switon-php (6 commits)")

---

Tags

connectionspoolingresourcesswitonresourcesconnectionspoolingswiton

### Embed Badge

![Health badge](/badges/switon-pool/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M395](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M506](/packages/shopware-core)[typo3/cms-core

TYPO3 CMS Core

3312.9M4.7k](/packages/typo3-cms-core)

PHPackages © 2026

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