PHPackages                             zalas/phpunit-injector - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. zalas/phpunit-injector

ActiveLibrary[Testing &amp; Quality](/categories/testing)

zalas/phpunit-injector
======================

Injects services from a PSR-11 dependency injection container to PHPUnit test cases

v2.5.1(2y ago)62346.2k—7.1%MITPHP ~8.1.0 || ~8.2.0 || ~8.3.0

Since Mar 2Compare

[ Source](https://github.com/jakzal/phpunit-injector)[ Packagist](https://packagist.org/packages/zalas/phpunit-injector)[ GitHub Sponsors](https://github.com/jakzal)[ RSS](/packages/zalas-phpunit-injector/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (11)Versions (29)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/jakzal/phpunit-injector).

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community12

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 95.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 ~101 days

Recently: every ~302 days

Total

28

Last Release

265d ago

Major Versions

v1.4.1 → v2.0.02020-02-12

v1.4.2 → v2.0.12020-04-06

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

v1.3.0PHP ^7.2

v1.4.0PHP ^7.2,&lt;8.0

v2.0.0PHP ^7.4,&lt;8.0

v2.1.0PHP ^7.4 || ~8.0.0

v2.2.0PHP ~8.0.0 || ~8.1.0

v2.4.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

v2.5.0PHP ~8.1.0 || ~8.2.0

v2.5.1PHP ~8.1.0 || ~8.2.0 || ~8.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/012270929478a287f88353135a39d275db09c1856d344d0245e04df709879262?d=identicon)[jakzal](/maintainers/jakzal)

---

Top Contributors

[![jakzal](https://avatars.githubusercontent.com/u/190447?v=4)](https://github.com/jakzal "jakzal (175 commits)")[![gjuric](https://avatars.githubusercontent.com/u/223015?v=4)](https://github.com/gjuric "gjuric (3 commits)")[![grossmannmartin](https://avatars.githubusercontent.com/u/1177414?v=4)](https://github.com/grossmannmartin "grossmannmartin (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![TomasLudvik](https://avatars.githubusercontent.com/u/5638367?v=4)](https://github.com/TomasLudvik "TomasLudvik (1 commits)")[![villfa](https://avatars.githubusercontent.com/u/2891564?v=4)](https://github.com/villfa "villfa (1 commits)")

### Embed Badge

![Health badge](/badges/zalas-phpunit-injector/health.svg)

```
[![Health](https://phpackages.com/badges/zalas-phpunit-injector/health.svg)](https://phpackages.com/packages/zalas-phpunit-injector)
```

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

675.0M775](/packages/typo3-testing-framework)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)[jasonmccreary/laravel-test-assertions

A set of helpful assertions when testing Laravel applications.

3513.9M32](/packages/jasonmccreary-laravel-test-assertions)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[webmozarts/strict-phpunit

Enables type-safe comparisons of objects in PHPUnit

31252.7k5](/packages/webmozarts-strict-phpunit)

PHPackages © 2026

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