PHPackages                             kikimarik/strict-di-container - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. kikimarik/strict-di-container

ActiveLibrary[Framework](/categories/framework)

kikimarik/strict-di-container
=============================

Composer PSR-11 package for Dependency Injection Container

v1.0.1(3y ago)06MITPHPPHP &gt;=7.4

Since Sep 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kikimarik/strict-di-container)[ Packagist](https://packagist.org/packages/kikimarik/strict-di-container)[ RSS](/packages/kikimarik-strict-di-container/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Strict DI container is a PSR-11 php library
===========================================

[](#strict-di-container-is-a-psr-11-php-library)

Features
--------

[](#features)

---

- Object-oriented design (without static methods etc.)
- Compatible with PHP 7.4 and later, including PHP 8.1
- Compatible with PSR-11

Why do you need it
------------------

[](#why-do-you-need-it)

---

The library helps you project to inject it dependencies. It has a nice object-oriented design, and it is going to please you with its simplicity. Before testing a class that depends on that library component, it is easy to replace that dependency with a fake class.

A Simple Example
----------------

[](#a-simple-example)

---

```
