PHPackages                             infection/extension-installer - 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. infection/extension-installer

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

infection/extension-installer
=============================

Infection Extension Installer

0.1.2(4y ago)2624.2M—4.9%4[1 issues](https://github.com/infection/extension-installer/issues)[1 PRs](https://github.com/infection/extension-installer/pulls)15BSD-3-ClausePHP

Since Jan 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/infection/extension-installer)[ Packagist](https://packagist.org/packages/infection/extension-installer)[ GitHub Sponsors](https://github.com/infection)[ Fund](https://opencollective.com/infection)[ RSS](/packages/infection-extension-installer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (12)Versions (5)Used By (15)

[![CI](https://github.com/infection/extension-installer/workflows/Tests/badge.svg)](https://github.com/infection/extension-installer/actions)[![Coverage Status](https://camo.githubusercontent.com/069678f62275716d0e902e8e90ec3801cb8704ad815b5300fce19a4f6d5ad464/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f696e66656374696f6e2f657874656e73696f6e2d696e7374616c6c65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/infection/extension-installer?branch=master)

Infection - Extensions Installer
================================

[](#infection---extensions-installer)

Composer plugin for automatic registering of [Infection extensions](https://packagist.org/explore/?type=infection-extension).

How to install extension
------------------------

[](#how-to-install-extension)

Extension installer is bundled together with Infection core. All you need to register a custom extension is just to install a composer package.

Extension will be registered *automatically*.

Infection Extension Installer listens `post-install-cmd` and `post-update-cmd` events and as soon as it finds an Infection extension, it automatically registers it in Infection.

```
composer require --dev infection/codeception-adapter

Using version 1.0.0 for infection/codeception-adapter
Package operations: 1 installs, 0 updates, 0 removals
  - Installing infection/codeception-adapter (1.0.0): Downloading 100%

infection/extension-installer: Extensions installed
> infection/codeception-adapter: installed
```

How to write an extension for Infection
---------------------------------------

[](#how-to-write-an-extension-for-infection)

Infection extension is a composer-based package. Basically it is a composer package which conforms to the following requirements:

- its type field is set to `infection-extension`
- it has `extra.infection.class` subkey in its `composer.json` that references a class that will be invoked in the Infection runtime.

Example:

```
{
    "name": "infection/codeception-adapter",
    "type": "infection-extension",
    "extra": {
        "infection": {
            "class": "Infection\\TestFramework\\Codeception\\CodeceptionAdapterFactory"
        }
    }
}
```

### Supported extensions types

[](#supported-extensions-types)

Currently, Infection supports only Test Framework extensions ([example](https://github.com/infection/codeception-adapter)).

### Available extensions

[](#available-extensions)

All Infection extensions can be [discovered on Packagist](https://packagist.org/explore/?type=infection-extension).

Infection - Mutation Testing Framework
--------------------------------------

[](#infection---mutation-testing-framework)

Please read documentation here: [infection.github.io](http://infection.github.io)

Twitter: [@infection\_php](http://twitter.com/infection_php)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity58

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 63.9% 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 ~317 days

Total

3

Last Release

1671d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0196ce472ed16a55b72aa7f9f9956bc6e68fa519abf975caffc9fcb5fa320df?d=identicon)[borN\_free](/maintainers/borN_free)

---

Top Contributors

[![maks-rafalko](https://avatars.githubusercontent.com/u/3725595?v=4)](https://github.com/maks-rafalko "maks-rafalko (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![sidz](https://avatars.githubusercontent.com/u/1302230?v=4)](https://github.com/sidz "sidz (2 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")[![SelviA](https://avatars.githubusercontent.com/u/853469?v=4)](https://github.com/SelviA "SelviA (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/infection-extension-installer/health.svg)

```
[![Health](https://phpackages.com/badges/infection-extension-installer/health.svg)](https://phpackages.com/packages/infection-extension-installer)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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