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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. fast-forward/container

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

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

Fast Forward PSR-11 Container utility classes

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

Since Apr 20Pushed 4mo 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 1mo ago

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

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 87% of packages

Maintenance71

Regular maintenance activity

Popularity15

Limited adoption so far

Community14

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

280d 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

[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M342](/packages/league-container)[mnapoli/simplex

Pimple fork with full container-interop support

13123.1k16](/packages/mnapoli-simplex)[elie29/zend-phpdi-config

PSR-11 PHP-DI autowire container configurator for Laminas, Mezzio, ZF2, ZF3 and Zend Expressive applications

20238.6k7](/packages/elie29-zend-phpdi-config)[juliangut/slim-php-di

Slim Framework PHP-DI container integration

1729.9k2](/packages/juliangut-slim-php-di)[phpwatch/simple-container

A fast and minimal PSR-11 compatible Dependency Injection Container with array-syntax and without auto-wiring

1810.1k2](/packages/phpwatch-simple-container)

PHPackages © 2026

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