xylemical / container
Provides framework for container compilation.
dev-master
2022-06-30 05:45 UTC
Requires
- php: >=8.0
- psr/container: >=1.0
- xylemical/code: dev-master
- xylemical/code-php: dev-master
- xylemical/code-writer-twig: dev-master
Requires (Dev)
- mikey179/vfsstream: ^1.6
- xylemical/composer-dev-bundle: ^0.1.1
This package is auto-updated.
Last update: 2025-03-29 01:04:00 UTC
README
Provides a framework for containers and compilation.
Install
The recommended way to install this library is through composer.
composer require xylemical/container
Usage
use Xylemical\Container\ContainerBuilder; $source = ...; // A source defined by \Xylemical\Container\Source\SourceInterface. $builder = new ContainerBuilder($source, 'config/container.php'); $container = $builder->getContainer();
License
MIT, see LICENSE.