PHPackages                             bsushil/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. bsushil/di-container

ActiveLibrary[Framework](/categories/framework)

bsushil/di-container
====================

Dependency injection container for PHP

016PHP

Since Feb 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bSushil/di-container)[ Packagist](https://packagist.org/packages/bsushil/di-container)[ RSS](/packages/bsushil-di-container/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Dependency Injection Container
==================================

[](#php-dependency-injection-container)

A simple package to perform dependency injection in PHP similar to Laravel

Installation
------------

[](#installation)

`composer require bsushil/di-container`

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a9c57ad94d363bce95bd830b12c938824946ba80a7e04ed124f400f0b9faa90?d=identicon)[bSushil](/maintainers/bSushil)

---

Top Contributors

[![bSushil](https://avatars.githubusercontent.com/u/6566651?v=4)](https://github.com/bSushil "bSushil (4 commits)")

### Embed Badge

![Health badge](/badges/bsushil-di-container/health.svg)

```
[![Health](https://phpackages.com/badges/bsushil-di-container/health.svg)](https://phpackages.com/packages/bsushil-di-container)
```

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M300](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
