New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

mll-lab/rector-config

Shared rules for Rector
42,233
Install
composer require mll-lab/rector-config
Latest Version:v3.5.0
PHP:^8.3
License:MIT
Last Updated:Nov 13, 2026
Links: GitHub  ·  Packagist
Maintainer: spawnia

rector-config

Shared configuration for rector

GitHub license Packagist Packagist

Installation

composer require --dev mll-lab/rector-config

Usage

In your rector.php:

+use function MLL\RectorConfig\config;
use Rector\Config\RectorConfig;

return static function (RectorConfig $rectorConfig): void {
+   config($rectorConfig);

    $rectorConfig->paths([
        ...
    ]);
    $rectorConfig->rule(...);
};

If the project is using Laravel, use laravel instead of config.

Related Packages

valorin/random

Random is a simple helper package designed to make it easy to generate a range o...

467,456 234
php
cline/variable-keys

Laravel Blueprint macros for variable primary key and morph types

25,882 0
php
cline/struct

Lean, attribute-driven Laravel data objects with explicit validation and Eloquen...

21,144 0
php
cline/toggl

Advanced feature flag management with strategies, time bombs, and groups

14,044 0
php
cline/sequencer

Sequential migration and operation orchestration for Laravel

13,721 0
php

Version History

Version Released PHP License
v3.5.0 ^8.3 MIT
v3.4.0 ^8.3 MIT
v3.3.0 ^8.3 MIT
v3.2.0 ^8.3 MIT
v3.1.1 ^8.3 MIT