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

1.0.0(2mo ago)161.8M—8.1%12MITPHPPHP ^8.3CI passing

Since Apr 21Pushed 2mo 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 2w ago

READMEChangelog (1)Dependencies (15)Versions (9)Used By (2)

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)

This functionality is now part of `rector/rector` core, so you don't need to install this plugin separately if `rector/rector` is already installed. 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)

Set the extension's Composer package [type](https://getcomposer.org/doc/04-schema.md#type) to `rector-extension` so this plugin can recognize it and so it becomes [discoverable on Packagist](https://packagist.org/explore/?type=rector-extension).

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

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

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

[](#limitations)

The extension installer depends on Composer script events, so you cannot use the `--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

60

—

FairBetter than 98% of packages

Maintenance84

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~310 days

Recently: every ~461 days

Total

7

Last Release

83d ago

Major Versions

0.11.2 → 1.0.02026-05-27

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

0.11.0PHP ^8.0

1.0.0PHP ^8.3

### 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 (20 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

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### 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

[symfony/runtime

Enables decoupling PHP applications from global state

740103.0M1.2k](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5346.5M600](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2125.4M213](/packages/drupal-core-project-message)[phpro/grumphp-shim

GrumPHP Phar distribution

284.9M348](/packages/phpro-grumphp-shim)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

566.3M167](/packages/automattic-jetpack-autoloader)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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