PHPackages                             projek-xyz/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. projek-xyz/container

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

projek-xyz/container
====================

Dead Simple PSR 11 Container Implementation

v0.7.0(4y ago)1829[1 PRs](https://github.com/projek-xyz/container/pulls)MITPHPPHP &gt;=7.2CI failing

Since Jun 12Pushed 1w ago2 watchersCompare

[ Source](https://github.com/projek-xyz/container)[ Packagist](https://packagist.org/packages/projek-xyz/container)[ Fund](https://ko-fi.com/feryardiant)[ RSS](/packages/projek-xyz-container/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (19)Used By (0)

[![Version](https://camo.githubusercontent.com/0b44748e4bc5b262a7cc89111520fa98d941d73bc1e1c226e08600dfc3c2c26e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f70726f6a656b2d78797a2f636f6e7461696e65723f7374796c653d666c61742d737175617265)](https://packagist.org/packages/projek-xyz/container)[![Lisence](https://camo.githubusercontent.com/75a37910e236568a8cdd9affb4349b2fd2a70a9b8ff07f8e60b573e160954245/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70726f6a656b2d78797a2f636f6e7461696e65723f7374796c653d666c61742d737175617265)](https://github.com/projek-xyz/container/blob/main/LICENSE)[![Actions Status](https://camo.githubusercontent.com/fa0cf4d2559f1538497d9b8aba2b66c181da2aa687ae25569ecf6ad5d7093b2b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70726f6a656b2d78797a2f636f6e7461696e65722f746573742e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265)](https://github.com/projek-xyz/container/actions)[![Coverage Status](https://camo.githubusercontent.com/00fb039becc4970ccf4f8fc7f18776bdeeece53fa5dfd543bb9d38a715876125/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f70726f6a656b2d78797a2f636f6e7461696e65722f6d61696e3f7374796c653d666c61742d737175617265266c6f676f3d636f766572616c6c73)](https://coveralls.io/github/projek-xyz/container)[![Coverage Status](https://camo.githubusercontent.com/363f2ce36e7fcbc2f518e625bfc4eecdf6c124808906e5140d276599098d766e/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f70726f6a656b2d78797a2f636f6e7461696e65723f7374796c653d666c61742d737175617265266c6f676f3d636f64652d636c696d617465)](https://codeclimate.com/github/projek-xyz/container)[![Maintainability](https://camo.githubusercontent.com/1a89da208c5338fe7e1e87e06abe8ed43096d5f5362dbf23a0d3fe4d4052d5de/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f70726f6a656b2d78797a2f636f6e7461696e65723f7374796c653d666c61742d737175617265266c6f676f3d636f64652d636c696d617465)](https://codeclimate.com/github/projek-xyz/container/maintainability)[![SymfonyInsight Grade](https://camo.githubusercontent.com/1c8c4de209ea8820e087e3cc012228f7540d5ceddd3379a5b3c852fbdc903642/68747470733a2f2f696d672e736869656c64732e696f2f73796d666f6e792f692f67726164652f64363131663963302d653263392d343835302d383833312d3465353565386530346439343f7374796c653d666c61742d737175617265266c6f676f3d73796d666f6e79)](https://insight.symfony.com/projects/d611f9c0-e2c9-4850-8831-4e55e8e04d94)

Simple yet Flexible PSR-11 Container Implementation
===================================================

[](#simple-yet-flexible-psr-11-container-implementation)

This tiny library aims to provide dead simple PSR-11 implementation with flexible service registration.

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

[](#installation)

Use [Composer](https://getcomposer.org/)

```
$ composer require projek-xyz/container --prefer-dist
```

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

[](#documentation)

Documentations and usages available on [wiki](https://github.com/projek-xyz/container/wiki)

License
-------

[](#license)

This library is open-sourced software licensed under [MIT license](LICENSE.md).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance64

Regular maintenance activity

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.1% 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 ~52 days

Total

16

Last Release

1805d ago

PHP version history (4 changes)v0.1.0PHP ^7.2

v0.1.1PHP ^7.1

v0.4.0PHP &gt;=7.1

v0.4.5PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/16384dbbd6cd66f33f13f5bf2dc7f26125049762c7414eb0e755c630375240ba?d=identicon)[feryardiant](/maintainers/feryardiant)

---

Top Contributors

[![feryardiant](https://avatars.githubusercontent.com/u/508665?v=4)](https://github.com/feryardiant "feryardiant (347 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (24 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (9 commits)")[![creasi](https://avatars.githubusercontent.com/u/11495172?v=4)](https://github.com/creasi "creasi (1 commits)")

---

Tags

autowiringcontainercontainer-implementationdependency-injectionpsr-11psrcontainerPSR-11dependencydiioc

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/projek-xyz-container/health.svg)

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

###  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)[capsule/di

A PSR-11 compliant autowiring dependency injection container.

2857.5k2](/packages/capsule-di)[miladrahimi/phpcontainer

Dependency injection (IoC) container for PHP projects

1322.7k2](/packages/miladrahimi-phpcontainer)

PHPackages © 2026

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