PHPackages                             phptest/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phptest/service-container

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phptest/service-container
=========================

Extensible service container

051PHP

Since Jun 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/phptest/service-container)[ Packagist](https://packagist.org/packages/phptest/service-container)[ RSS](/packages/phptest-service-container/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPTest Service Container
=========================

[](#phptest-service-container)

**Master build:** [![Master branch build status](https://camo.githubusercontent.com/0b721bde5ada2dab71780df3f405c0fb09a49c8084a73e1896df9e32f3de0977/68747470733a2f2f7472617669732d63692e6f72672f706870746573742f706870746573742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/phptest/phptest)
**Requires:** `PHP >= 5.4 || HHVM >= 3.0`

**PHPTest** Service Container is a small abstraction around the popular [Symfony DependencyInjection](https://github.com/symfony/DependencyInjection) library.

It can be installed in whichever way you prefer, but I recommend [Composer](https://packagist.org/packages/phptest/phptest).

```
{
    "require": {
        "phptest/service-container": "*"
    }
}
```

### Contributing

[](#contributing)

All contributions, including issues, comments and pull requests should be made to the main [phptest/phptest](https://github.com/phptest/phptest) respository.

### License

[](#license)

The content of this library is released under the **MIT License** by **Andrew Lawson**.
 You can find a copy of this license in [`LICENSE`](/LICENSE) or at .

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/40e44d205c8c6e1d1b38981c03b2d3a356f4426e19f47e2d52e3214e1aeabefe?d=identicon)[adlawson](/maintainers/adlawson)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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