This package is abandoned and no longer maintained. The author suggests using the rector/extension-installer package instead.

Composer plugin for automatic installation of Rector extensions

Installs: 150 212

Dependents: 0

Suggesters: 0

Security: 0

Stars: 12

Watchers: 4

Forks: 2

Open Issues: 0


0.11.2 2022-01-19 00:29 UTC

This package is auto-updated.

Last update: 2023-01-04 12:06:32 UTC



Composer plugin for automatic installation of Rector extensions.

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.


composer require --dev rector/extension-installer

Instructions for extension developers

It's best to set the extension's composer package type to rector-extension for this plugin to be able to recognize it and to be discoverable on Packagist.

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

    "extra": {
        "rector": {
            "includes": [


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


This package is heavily inspired by phpstan/extension-installer by Ondřej Mirtes. Thank you.