PHPackages                             sulu/sulu-rector - 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. sulu/sulu-rector

ActiveRector-extension[Utility &amp; Helpers](/categories/utility)

sulu/sulu-rector
================

Rector upgrades rules for Sulu CMS

2.0.0(1y ago)17334.8k↓11.5%4[1 issues](https://github.com/sulu/sulu-rector/issues)[2 PRs](https://github.com/sulu/sulu-rector/pulls)10MITPHPPHP ^8.2CI passing

Since May 13Pushed 1y ago6 watchersCompare

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

READMEChangelog (10)Dependencies (11)Versions (12)Used By (10)

Sulu Rector
===========

[](#sulu-rector)

This project contains [Rector rules](https://github.com/rectorphp/rector) for [Sulu CMS](https://github.com/sulu/sulu) upgrades.

Install
-------

[](#install)

Install rector and sulu rector via composer to your project:

```
composer require rector/rector --dev
composer require sulu/sulu-rector --dev
```

Use Sets
--------

[](#use-sets)

To add a set to your config, use `Sulu\Rector\Set\SymfonySetList` and `Sulu\Rector\Set\SuluLevelSetList`class and pick one of constants:

```
use Sulu\Rector\Set\SuluLevelSetList;
use Rector\Config\RectorConfig;

return static function (RectorConfig $rectorConfig): void {
    $rectorConfig->sets([
        SuluLevelSetList::UP_TO_SULU_26,
    ]);
};
```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance44

Moderate activity, may be stable

Popularity45

Moderate usage in the ecosystem

Community27

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 82.6% 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 ~105 days

Recently: every ~146 days

Total

11

Last Release

411d ago

Major Versions

0.1.8 → 1.0.02024-02-07

1.0.0 → 2.0.02025-04-02

PHP version history (2 changes)0.1.0PHP ^8.1

2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/5dbafb2ec00aab7a9f476cf2dd77f63923acfda214ec7bf728c662a9e88f39c7?d=identicon)[chirimoya](/maintainers/chirimoya)

![](https://avatars.githubusercontent.com/u/1698337?v=4)[Alexander Schranz](/maintainers/alexander-schranz)[@alexander-schranz](https://github.com/alexander-schranz)

![](https://www.gravatar.com/avatar/79a96e73697310472951fe9173230a10d1d23f6a5b8074d260d2bb848dcbb775?d=identicon)[Prokyonn](/maintainers/Prokyonn)

---

Top Contributors

[![alexander-schranz](https://avatars.githubusercontent.com/u/1698337?v=4)](https://github.com/alexander-schranz "alexander-schranz (19 commits)")[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (2 commits)")[![mdjdev](https://avatars.githubusercontent.com/u/18183474?v=4)](https://github.com/mdjdev "mdjdev (1 commits)")[![rogoit](https://avatars.githubusercontent.com/u/3101439?v=4)](https://github.com/rogoit "rogoit (1 commits)")

---

Tags

rectorphprefractoringsulucmsupgradesupgradeSulu CMS

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sulu-sulu-rector/health.svg)

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

###  Alternatives

[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2592.8M263](/packages/ssch-typo3-rector)[shalvah/upgrader

Create automatic upgrades for your package.

1510.9M6](/packages/shalvah-upgrader)[ichhabrecht/core-upgrader

Run upgrade wizards for multiple TYPO3 versions at once

2732.0k](/packages/ichhabrecht-core-upgrader)[quartetcom/static-analysis-kit

Strict and modern kit to optimise the codebase defensively.

144.3k5](/packages/quartetcom-static-analysis-kit)

PHPackages © 2026

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