PHPackages                             peak/di - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. peak/di

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

peak/di
=======

Peak Dependency Injection Container Component

4.2.4(6y ago)143MITPHPPHP &gt;=7.2

Since Jul 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/peakphp/di)[ Packagist](https://packagist.org/packages/peak/di)[ Docs](https://peakframework.com)[ RSS](/packages/peak-di/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (36)Used By (0)

[![Peak](https://raw.githubusercontent.com/peakphp/art/master/logo-clean-50x50.png)](https://raw.githubusercontent.com/peakphp/art/master/logo-clean-50x50.png) Peak/Di
=======================================================================================================================================================================

[](#-peakdi)

##### PSR-11 Dependency Injection Container

[](#psr-11-dependency-injection-container)

This package allows you to standardize and centralize the way objects are constructed in your application.

### Installation

[](#installation)

```
$ composer require peak/di

```

### Documentation

[](#documentation)

See

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity70

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~23 days

Recently: every ~0 days

Total

35

Last Release

2443d ago

Major Versions

v2.27.0 → v3.02018-07-27

v3.0 → 4.0.0-BETA12019-01-25

PHP version history (3 changes)v2.15.0PHP &gt;=5.6.4

v3.0PHP ^7.1.3

4.0.0-BETA2PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1209308?v=4)[François Lajoie](/maintainers/1franck)[@1franck](https://github.com/1franck)

---

Top Contributors

[![1franck](https://avatars.githubusercontent.com/u/1209308?v=4)](https://github.com/1franck "1franck (2413 commits)")

---

Tags

containerPSR-11dependency-injectiondipeak

### Embed Badge

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

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

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M994](/packages/php-di-php-di)[slince/di

A flexible dependency injection container

20260.4k6](/packages/slince-di)

PHPackages © 2026

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