Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

Installs: 501 433

Dependents: 483

Suggesters: 3

Stars: 1 057

Watchers: 35

Forks: 83

Open Issues: 71

0.14.2 2019-10-16 18:54 UTC


Minimum PHP version: 7.2.9 Latest Stable Version Build Status Build status Scrutinizer Code Quality Infection MSI codecov Slack channel: #infection on the Symfony slack

Infection - Mutation Testing framework

Please read documentation here:

Twitter: @infection_php


Infection is an open source project that welcomes pull requests and issues from anyone. Before pening pull requests, please consider reading our short Contribution Guide.


This project is highly inspired from Pádraic Brady (@padraic)'s Humbug library. Humbug has since then been discontinued in favour of this project.