PHPackages                             fast-forward/container - 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. fast-forward/container

ActiveLibrary

fast-forward/container
======================

Fast Forward PSR-11 Container utility classes

v1.5.1(7mo ago)0285↓100%MITPHPPHP ^8.1CI passing

Since Apr 20Pushed 3mo agoCompare

[ Source](https://github.com/php-fast-forward/container)[ Packagist](https://packagist.org/packages/fast-forward/container)[ Docs](https://github.com/php-fast-forward)[ RSS](/packages/fast-forward-container/feed)WikiDiscussions main Synced today

READMEChangelog (9)Dependencies (9)Versions (11)Used By (0)

FastForward\\Container
======================

[](#fastforwardcontainer)

A PSR-11 compliant aggregate container for PHP, designed to unify and resolve services across multiple container implementations. Built to work seamlessly with `php-di`, configuration objects, and custom container stacks.

✨ Features
----------

[](#-features)

- Aggregates multiple containers
- Caches resolved entries
- Integrates with `php-di`
- First-class support for configuration containers
- PSR-11 compliant

🚀 Installation
--------------

[](#-installation)

```
composer require fast-forward/container
```

🛠️ Usage
--------

[](#️-usage)

```
use FastForward\Container\ContainerInterface;
use FastForward\Container\container;
use FastForward\Config\ArrayConfig;

$config = new ArrayConfig([
    ContainerInterface::class => [
        SomeServiceProvider::class, // strings will be initialized with a new call
        SomePsr11Container::class, // strings should be initializable with a simple new call
        new OtherServiceProvider('withArgument'), // objects that implement Interop\Container\ServiceProviderInterface
        new ServiceManager($dependencies), // objects that implement Psr\Container\ContainerInterface
    ],
]);

$container = container($config);

// or using the container function directly with a configuration variadic
// $container = container(
//     SomeServiceProvider::class,
//     SomePsr11Container::class,
//     new ApplicationConfig(), // that implements ConfigInterface with the ContainerInterface key
//     new OtherServiceProvider('withArgument'),
//     new ServiceManager($dependencies),
// );

// Retrieve service
$service = $container->get(SomeService::class);
```

📄 License
---------

[](#-license)

This package is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.

🔗 Links
-------

[](#-links)

- [Repository](https://github.com/php-fast-forward/container)
- [Packagist](https://packagist.org/packages/php-fast-forward/container)
- [RFC 2119](https://datatracker.ietf.org/doc/html/rfc2119)
- [PSR-11 Container Interface](https://www.php-fig.org/psr/psr-11/)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance73

Regular maintenance activity

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.8% 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 ~13 days

Total

9

Last Release

233d ago

### Community

Maintainers

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

---

Top Contributors

[![coisa](https://avatars.githubusercontent.com/u/426835?v=4)](https://github.com/coisa "coisa (82 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

phpphp-containerphp-librarypsr-11

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fast-forward-container/health.svg)

```
[![Health](https://phpackages.com/badges/fast-forward-container/health.svg)](https://phpackages.com/packages/fast-forward-container)
```

###  Alternatives

[respect/validation

The most awesome validation engine ever created for PHP

5.9k36.6M352](/packages/respect-validation)

PHPackages © 2026

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