getwarp/container

Decent dependency injection container compatible with PSR-11

Maintainers

Package info

github.com/getwarp/container

pkg:composer/getwarp/container

Fund package maintenance!

getwarp

hustlahusky

Statistics

Installs: 853

Dependents: 3

Suggesters: 1

Stars: 1

3.1.2 2023-03-14 15:08 UTC

This package is auto-updated.

Last update: 2026-03-14 22:18:36 UTC


README

getwarp/container

Decent dependency injection container compatible with PSR-11

GitHubPackagistInstallationUsage

Installation

Via Composer

$ composer require getwarp/container

Usage

use Warp\Container\DefinitionContainer;
use Warp\Container\FactoryContainer;
use Warp\Container\CompositeContainer;

$container = new CompositeContainer([
    new DefinitionContainer(),
    new FactoryContainer(),
]);

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Report issues and send pull requests in the main Warp repository. Please see contributing guide and code of conduct for details.

Credits

License

The MIT License (MIT). Please see license file for more information.