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: 1 079 456

Dependents: 711

Suggesters: 3

Security: 0

Stars: 1 219

Watchers: 30

Forks: 104

Open Issues: 91

0.16.4 2020-06-25 15:14 UTC


Minimum PHP version: 7.2.9 Latest Stable Version Continuous Integration 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 opening 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.