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

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

rector/extension-installer
==========================

Composer plugin for automatic installation of Rector extensions

0.11.2(4y ago)161.6M—1.4%11MITPHPPHP ^8.0

Since Apr 21Pushed 3y ago3 watchersCompare

[ Source](https://github.com/rectorphp/extension-installer)[ Packagist](https://packagist.org/packages/rector/extension-installer)[ RSS](/packages/rector-extension-installer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (7)Used By (1)

Rector Extension Installer
==========================

[](#rector-extension-installer)

[![Build](https://github.com/rectorphp/extension-installer/actions/workflows/code_analysis.yaml/badge.svg)](https://github.com/rectorphp/extension-installer/actions)

Composer plugin for automatic installation of Rector extensions.

Important Note
--------------

[](#important-note)

As this project became a part of a core project (`rector/rector`) it shouldn't be installed in addition if you already installed `rector/rector`. See comments [here](https://github.com/rectorphp/rector/issues/7092#issuecomment-1367967936).

Usage
-----

[](#usage)

```
composer require --dev rector/extension-installer
```

Instructions for extension developers
-------------------------------------

[](#instructions-for-extension-developers)

It's best to set the extension's composer package [type](https://getcomposer.org/doc/04-schema.md#type) to `rector-extension` for this plugin to be able to recognize it and to be [discoverable on Packagist](https://packagist.org/explore/?type=rector-extension).

Add `rector` key in the extension `composer.json`'s `extra` section:

```
{
    "extra": {
        "rector": {
            "includes": [
                "config/config.php"
            ]
        }
    }
}
```

Limitations
-----------

[](#limitations)

The extension installer depends on Composer script events, therefore you cannot use `--no-scripts` flag.

Acknowledgment
--------------

[](#acknowledgment)

This package is heavily inspired by [phpstan/extension-installer](https://github.com/phpstan/extension-installer) by Ondřej Mirtes. Thank you.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.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 ~54 days

Recently: every ~67 days

Total

6

Last Release

1581d ago

PHP version history (2 changes)0.10.0PHP ^7.3 || ^8.0

0.11.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/924196?v=4)[Tomas Votruba](/maintainers/TomasVotruba)[@TomasVotruba](https://github.com/TomasVotruba)

---

Top Contributors

[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (19 commits)")[![sabbelasichon](https://avatars.githubusercontent.com/u/13050560?v=4)](https://github.com/sabbelasichon "sabbelasichon (14 commits)")[![ygarris-sevensenders](https://avatars.githubusercontent.com/u/78728611?v=4)](https://github.com/ygarris-sevensenders "ygarris-sevensenders (1 commits)")

---

Tags

composer-pluginrectorrector-extension

###  Code Quality

Code StyleECS

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/rector-extension-installer/health.svg)](https://phpackages.com/packages/rector-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)
