Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alireaza/container
- Owner: alireaza
- License: mit
- Created: 2021-11-07T17:47:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-05T00:42:54.000Z (almost 3 years ago)
- Last Synced: 2024-07-30T20:05:17.759Z (5 months ago)
- Topics: composer, container, php, psr-11
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.