
Infection
Mutation testing tool for PHP that changes the source code and reports the changes the test suite does not catch.
infection.github.iorepositorydocs
Infection mutates PHP source code through changes to its abstract syntax tree and reports the mutations the test suite still passes. The guide names PHPUnit, PhpSpec, Codeception and Testo as the test frameworks it supports, and the PHAR download bundles all of them.
Worth knowing
Infection needs Xdebug, phpdbg or pcov enabled alongside PHP. The CI guide describes using it in a continuous integration server together with other code quality tools.
Identity
- Status
- Active
- Maintainer
- Maks Rafalko4
- Maintained by
- Individual4
- First release
- 20179
Rendering and deploy
Releases
Adoption
Sources
- 2026-11-16: links, Categories, License, License model
infection.github.io/ - 2026-11-16: links, Written in, GitHub stars
api.github.com/repos/infection/infection - 2026-11-16: links, Runtime
infection.github.io/guide/ - 2026-11-16: Maintainer, Maintained by
github.com/infection/infection/blob/master/LICENSE - 2026-11-16: Minimum runtime
github.com/infection/infection/blob/0.35.11/composer.json - 2026-11-16: Runs as
infection.github.io/guide/using-with-ci.html - 2026-11-16: Install with
infection.github.io/guide/installation.html - 2026-11-16: Current major version, Last release
api.github.com/repos/infection/infection/releases/latest - 2026-11-16: First release
api.github.com/repos/infection/infection/releases - 2026-11-16: Packagist downloads
packagist.org/packages/infection/infection.json - 2026-11-16: Contributors
api.github.com/repos/infection/infection/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/infection%2Finfection