PHPackages                             mll-lab/rector-config - 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. mll-lab/rector-config

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mll-lab/rector-config
=====================

Shared rules for Rector

v3.2.0(3mo ago)033.9k↓45%4MITPHPPHP ^8.3CI passing

Since Aug 2Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/mll-lab/rector-config)[ Packagist](https://packagist.org/packages/mll-lab/rector-config)[ RSS](/packages/mll-lab-rector-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (13)Used By (4)

rector-config
=============

[](#rector-config)

Shared configuration for rector

[![GitHub license](https://camo.githubusercontent.com/ec83852ec7ab687177672b9aa04667b71518581d48fa6d090c4d689d804011f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6c6c2d6c61622f726563746f722d636f6e6669672e737667)](https://github.com/mll-lab/rector-config/blob/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/907c74cc77500d1bb45c95c86db639a6c7e8ba8543d7ccddcb4049e2ef64d20d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6c6c2d6c61622f726563746f722d636f6e6669672e737667)](https://packagist.org/packages/mll-lab/rector-config)[![Packagist](https://camo.githubusercontent.com/06b55d6e605f5bc7470945ec31a11a9ddca461cb6fcbfb0070a4792c30082b38/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6c6c2d6c61622f726563746f722d636f6e6669672e737667)](https://packagist.org/packages/mll-lab/rector-config)

Installation
------------

[](#installation)

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

Usage
-----

[](#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`.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance83

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~115 days

Recently: every ~94 days

Total

12

Last Release

118d ago

Major Versions

v1.0.0 → v2.0.02023-02-08

v2.5.0 → v3.0.02025-03-26

PHP version history (3 changes)v1.0.0PHP ^7.4 || ^8.0

v2.0.0PHP ^8.1

v3.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ff5d1af2c0f601f7ed7e75e15be0aa4c062149b57fd5aace4e44cc37b8b7a40?d=identicon)[spawnia](/maintainers/spawnia)

---

Top Contributors

[![spawnia](https://avatars.githubusercontent.com/u/12158000?v=4)](https://github.com/spawnia "spawnia (23 commits)")

---

Tags

phprector

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mll-lab-rector-config/health.svg)

```
[![Health](https://phpackages.com/badges/mll-lab-rector-config/health.svg)](https://phpackages.com/packages/mll-lab-rector-config)
```

PHPackages © 2026

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