New

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

mll-lab/rector-config

Shared rules for Rector
40,594
Install
composer require mll-lab/rector-config
Latest Version:v3.3.0
PHP:^8.3
License:MIT
Last Updated:Oct 15, 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...

413,065 233
php
cline/variable-keys

Laravel Blueprint macros for variable primary key and morph types

22,912 0
php
cline/struct

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

17,788 0
php
cline/toggl

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

12,171 0
php
cline/sequencer

Sequential migration and operation orchestration for Laravel

11,736 0
php

Version History

Version Released PHP License
v3.3.0 ^8.3 MIT
v3.2.0 ^8.3 MIT
v3.1.1 ^8.3 MIT
v3.1.0 ^8.3 MIT
v3.0.0 ^8.3 MIT