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

ActiveProject[Framework](/categories/framework)

sensorario/container
====================

A Dependency Injection Container

2.0.0(9y ago)131812MITPHPPHP &gt;=7.1

Since May 3Pushed 8y agoCompare

[ Source](https://github.com/sensorario/container)[ Packagist](https://packagist.org/packages/sensorario/container)[ RSS](/packages/sensorario-container/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (4)Used By (2)

Container
=========

[](#container)

[![Build Status](https://camo.githubusercontent.com/ab29f3d4d70dc44bd6aff951e087b9fe3985df4e8c9c838d141fe3b61e1e9d10/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73656e736f726172696f2f636f6e7461696e65722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sensorario/container/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/91dbcac04494c746beab3faab276181b3e3b359389cd8461093b1365c7a87dd5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73656e736f726172696f2f636f6e7461696e65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sensorario/container/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/d4ce655eaa7cc7befa1ecaa4231363e4dfe78da0cc4a3a15d40f3ab7d9fa7ee0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73656e736f726172696f2f636f6e7461696e65722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sensorario/container/?branch=master)

Features
--------

[](#features)

- [Constructor Injection](doc/constructor-injection.md)
- [Method Injection](doc/method-injection.md)

Suggestions
-----------

[](#suggestions)

- implement your own [Container Loader](doc/container-loader.md)

Folding
-------

[](#folding)

```
src/
└── Sensorario
    └── Container
        ├── ArgumentBuilder.php
        ├── Container.php
        ├── Objects
        │   ├── Argument.php
        │   └── Service.php
        ├── Register.php
        └── Resolver
            ├── ConstructorResolver.php
            ├── MethodResolver.php
            ├── Resolver.php
            └── ResolverInterface.php

4 directories, 9 files

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 99.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 ~4 days

Total

3

Last Release

3338d ago

Major Versions

1.0.x-dev → 2.0.02017-05-11

PHP version history (2 changes)1.0.0PHP ^5.3

2.0.0PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![sensorario](https://avatars.githubusercontent.com/u/820248?v=4)](https://github.com/sensorario "sensorario (106 commits)")[![AlessandroMinoccheri](https://avatars.githubusercontent.com/u/3356506?v=4)](https://github.com/AlessandroMinoccheri "AlessandroMinoccheri (1 commits)")

---

Tags

constructor-injectiondependency-injectiondependency-injection-containerinjectionmethod-injectionpsr-11resolver

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/dusk

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

1.9k38.6M290](/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)
