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

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

berlioz/service-container
=========================

Berlioz Service Container is a PHP library to manage your services with dependencies injection, respecting PSR-11 (Container interface) standard.

v3.0.0(2mo ago)123.2k↓34.6%11MITPHPPHP ^8.2

Since Feb 17Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/BerliozFramework/ServiceContainer)[ Packagist](https://packagist.org/packages/berlioz/service-container)[ Docs](https://getberlioz.com)[ RSS](/packages/berlioz-service-container/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (21)Used By (1)

Berlioz Service Container
=========================

[](#berlioz-service-container)

[![Latest Version](https://camo.githubusercontent.com/47408b7611d2be75bd788c02514106c509e92859edfe84516c06b671ac9e3c44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6265726c696f7a2f736572766963652d636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/BerliozFramework/ServiceContainer/releases)[![Packagist Dependency Version](https://camo.githubusercontent.com/e35584f8eb513d592702aedeeb28acdbda9480923833ff96536e017012a7535d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f4265726c696f7a4672616d65776f726b2f53657276696365436f6e7461696e65722f7068703f76657273696f6e3d332e782d646576267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e35584f8eb513d592702aedeeb28acdbda9480923833ff96536e017012a7535d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f4265726c696f7a4672616d65776f726b2f53657276696365436f6e7461696e65722f7068703f76657273696f6e3d332e782d646576267374796c653d666c61742d737175617265)[![Software license](https://camo.githubusercontent.com/38591ffe3ce8e5869ded9b2085b8c9084103a6637e0e8f65bccec48716889d5b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4265726c696f7a4672616d65776f726b2f53657276696365436f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/BerliozFramework/ServiceContainer/blob/3.x/LICENSE)

> **Note**
>
> This repository is a **read-only split** from the [main Berlioz Framework repository](https://github.com/BerliozFramework/Berlioz).
>
> For contributions, issues, or more information, please visit the [main Berlioz Framework repository](https://github.com/BerliozFramework/Berlioz).
>
> **Do not open issues or pull requests here.**

---

**Berlioz Service Container** is a PHP library to manage your services with dependencies injection, respecting PSR-11 (Container interface) standard.

📖 **[Full documentation](https://getberlioz.com/docs/3.x/components/service-container)**

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

[](#installation)

You can install **Berlioz Service Container** with [Composer](https://getcomposer.org/), it's the recommended installation.

```
$ composer require berlioz/service-container
```

Documentation
-------------

[](#documentation)

For usage and examples, visit the [official documentation on **getberlioz.com**](https://getberlioz.com/docs/3.x/components/service-container).

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance83

Actively maintained with recent releases

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity78

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 ~109 days

Recently: every ~174 days

Total

21

Last Release

88d ago

Major Versions

v1.1.0 → v2.0.0-beta12021-03-29

v1.2.0 → v2.2.02022-11-24

v2.3.1 → 3.x-dev2026-02-19

PHP version history (4 changes)v1.0.0PHP ^7.1

v1.1.0PHP ^7.1 || ^8.0

v2.0.0-beta1PHP ^8.0

3.x-devPHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18268216?v=4)[Ronan Giron](/maintainers/ElGigi)[@ElGigi](https://github.com/ElGigi)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/berlioz-service-container/health.svg)

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

###  Alternatives

[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M343](/packages/league-container)[phpwatch/simple-container

A fast and minimal PSR-11 compatible Dependency Injection Container with array-syntax and without auto-wiring

1810.1k2](/packages/phpwatch-simple-container)

PHPackages © 2026

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