Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/IngeniozIT/psr-container-edict
Easy DI ConTainer is a slim, PSR 11, framework-agnostic dependency injection container.
https://github.com/IngeniozIT/psr-container-edict
clean-code dependency-injection php psr-11
Last synced: 4 days ago
JSON representation
Easy DI ConTainer is a slim, PSR 11, framework-agnostic dependency injection container.
- Host: GitHub
- URL: https://github.com/IngeniozIT/psr-container-edict
- Owner: IngeniozIT
- License: mit
- Created: 2020-03-09T05:56:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-15T23:53:30.000Z (over 1 year ago)
- Last Synced: 2024-04-22T11:15:34.998Z (7 months ago)
- Topics: clean-code, dependency-injection, php, psr-11
- Language: PHP
- Homepage:
- Size: 61.5 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Edict
EDICT (**E**asy **DI** **C**on**T**ainer) is a slim, [PSR 11](https://www.php-fig.org/psr/psr-11/), framework-agnostic dependency injection container.
Cool features:
- [Autowiring](#autowiring) support *(can be toggled off)*
- [PHP attributes](#php-attributes) support
- 100% tested and documented
- Uses an up-to-date PHP version## About
| Info | Value |
|---|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Latest release | [![Packagist Version](https://img.shields.io/packagist/v/ingenioz-it/edict)](https://packagist.org/packages/ingenioz-it/edict) |
| Requires | ![PHP from Packagist](https://img.shields.io/packagist/php-v/ingenioz-it/edict.svg) |
| License | ![Packagist](https://img.shields.io/packagist/l/ingenioz-it/edict) |
| Unit tests | [![tests](https://github.com/IngeniozIT/psr-container-edict/actions/workflows/1-tests.yml/badge.svg)](https://github.com/IngeniozIT/psr-container-edict/actions/workflows/1-tests.yml) |
| Code coverage | [![Code Coverage](https://codecov.io/gh/IngeniozIT/psr-container-edict/branch/master/graph/badge.svg)](https://codecov.io/gh/IngeniozIT/psr-container-edict) |
| Code quality | [![code-quality](https://github.com/IngeniozIT/psr-container-edict/actions/workflows/2-code-quality.yml/badge.svg)](https://github.com/IngeniozIT/psr-container-edict/actions/workflows/2-code-quality.yml) |
| Quality tested with | [phpunit](https://github.com/sebastianbergmann/phpunit), [phan](https://github.com/phan/phan), [psalm](https://github.com/vimeo/psalm), [phpcs](https://github.com/squizlabs/PHP_CodeSniffer), [phpstan](https://github.com/phpstan/phpstan), [phpmd](https://github.com/phpmd/phpmd), [infection](https://github.com/infection/infection) |## Installation
```sh
composer require ingenioz-it/edict
```## How to use
To learn more about how to use Edict, please refer to the [wiki](https://github.com/IngeniozIT/psr-container-edict/wiki).
## Full documentation
You can list the available features by running
```sh
composer testdox
```The corresponding code samples are located in the [unit tests file](tests/ContainerTest.php).