Registry / utility / tobento-service-container

tobento-service-container

JSON →
library1.0.8phppackagistunverified

A PSR-11 container with autowiring.

composer require tobento/service-container
INSTALL
IMPORT
SIG · TOBENTO-SERVICE-CO
T
tobento-service-container
utilityphpv1.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Container
use Tobento\Service\Container\Container;

Create a container and retrieve a service

use Tobento\Service\Container\Container; $container = new Container(); $container->set('logger', function() { return new \Monolog\Logger('app'); }); $logger = $container->get('logger');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.8latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
tobento-service-container — pip install tobento-service-container · libregistry