Composer Plugin for simpler registration of Rector extension configs


Rector Extension Installer


Composer plugin for automatic installation of Rector extensions.


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.

  • Change composer require in

    Change composer require in

    Change from recto/rector-installer to rector/extension-installer

    Resolves: #4

    opened by sabbelasichon 1
  • Make use of rector-phpstan-rules

    Make use of rector-phpstan-rules

    opened by TomasVotruba 0
  • Add practical test

    Add practical test

    Plugin tests now currently depends on require-dev, which is conflict with composer/composer 2, resp. composer/xdebug-handle 1/2.

    The mocks are quite hard to read and not sure if they actually test the process of installing package. I look for some simple practical real-life usage test - like these we get reported in Rector issues :)

    I found this one:

    Checking phpstan extension installer, they use it too:

    It closer to real-life usage (composer require rector/extension-installer && composer install), easier to copy and debug, so I switch to it in this PR

    opened by TomasVotruba 0
All PHP functions, rewritten to throw exceptions instead of returning false

Safe PHP This project is deprecated Because of how this project needs to be in sync with the official PHP documentation, maintaining a set of function

TheCodingMachine 1.8k Jun 7, 2021
Simple yet expressive schema-based configuration library for PHP apps

league/config helps you define nested configuration arrays with strict schemas and access configuration values with dot notation.

The League of Extraordinary Packages 46 Jun 15, 2021
Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.

PHP dotenv Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically. Why .env? You should never store sensitive credentials

Vance Lucas 11.3k Jun 15, 2021
A PHP parser for TOML

TOML parser for PHP A PHP parser for TOML compatible with TOML v0.4.0. Support: Installation Requires PHP >= 7.1. Use Composer to install this package

Yo! Symfony 150 May 11, 2021
PHP client library for the Square Connect APIs

Square Connect PHP SDK - RETIRED replaced by square/square-php-sdk NOTICE: Square Connect PHP SDK retired The Square Connect PHP SDK is retired (EOL)

Square 113 Jun 8, 2021
Symfony Dotenv parses .env files to make environment variables stored in them accessible via getenv(), $_ENV, or $_SERVER.

Dotenv Component Symfony Dotenv parses .env files to make environment variables stored in them accessible via $_SERVER or $_ENV. Getting Started $ com

Symfony 3.1k Jun 10, 2021
AWS SDK with readable code and async responses

AsyncAws client If you are one of those people that like the Amazon PHP SDK but hate the fact that you need to download Guzzle, PSR-7 and every AWS AP

Async AWS 300 Jun 15, 2021