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

Abandoned → [rector/extension-installer](/?search=rector%2Fextension-installer)Composer-plugin

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

Composer plugin for automatic installation of Rector extensions

0.11.2(4y ago)16158.4k↓100%1MITPHPPHP ^8.0

Since Apr 21Pushed 3y ago3 watchersCompare

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

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

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

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community13

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

1571d 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-rector-installer/health.svg)

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

###  Alternatives

[humbug/box

Fast, zero config application bundler with PHARs.

1.3k801.5k67](/packages/humbug-box)[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.3M14](/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.9M440](/packages/drupal-core-composer-scaffold)[roots/wordpress-core-installer

A Composer custom installer to handle installing WordPress as a dependency

4115.6M19](/packages/roots-wordpress-core-installer)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)

PHPackages © 2026

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