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

https://github.com/cekta/di

psr/container implementation for humans
https://github.com/cekta/di

container dependency-injection di php psr-11

Last synced: 16 days ago
JSON representation

psr/container implementation for humans

Awesome Lists containing this project

README

        

# Getting started with Cekta/DI
[![Telegram chat](https://img.shields.io/badge/telegram-RU%20chat-179cde.svg?logo=telegram)](https://t.me/dev_ru)
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fcekta%2Fdi%2Fmaster)](https://dashboard.stryker-mutator.io/reports/github.com/cekta/di/master)
[![Latest Stable Version](https://poser.pugx.org/cekta/di/v/stable)](https://packagist.org/packages/cekta/di)
[![License](https://poser.pugx.org/cekta/di/license)](https://packagist.org/packages/cekta/di)

[psr/container](https://www.php-fig.org/psr/psr-11/) implementation for humans

## Features

* Supports Autowiring with automatic constructor-based configuration and variadic arguments.
* Allows you to manually configure any dependency via closures.
* Easy to improve and extend.
* Contains everything you need.
* Supports opcache compilation (fast).
* High code quality (see the badges).

## Install via [composer](https://getcomposer.org/)

```
composer require cekta/di
```

### Video tutorial (Russian).

[![Video Preview](http://img.youtube.com/vi/gm-3TSf9go0/0.jpg)](http://www.youtube.com/watch?v=gm-3TSf9go0)