Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alireaza/container

The PSR-11 Container.
https://github.com/alireaza/container

composer container php psr-11

Last synced: 23 days ago
JSON representation

The PSR-11 Container.

Awesome Lists containing this project

README

        

# Container

## Install

Via Composer
```bash
$ composer require alireaza/container
```

## Usage

```php
use AliReaza\Container\Container;

$container = new Container();

$container->containers['foo'] = 'bar';

$container->get('foo'); // bar
```

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.