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)17372.8k↓48.2%4[5 issues](https://github.com/sulu/sulu-rector/issues)[2 PRs](https://github.com/sulu/sulu-rector/pulls)12MITPHPPHP ^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 3d ago

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

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

48

—

FairBetter than 93% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity68

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

458d 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://avatars.githubusercontent.com/u/25978473?v=4)[Prokyonn](/maintainers/Prokyonn)[@Prokyonn](https://github.com/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

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2603.2M436](/packages/ssch-typo3-rector)[shalvah/upgrader

Create automatic upgrades for your package.

1512.9M8](/packages/shalvah-upgrader)[ergebnis/rector-rules

Provides rules for rector/rector.

10245.6k51](/packages/ergebnis-rector-rules)[ichhabrecht/core-upgrader

Run upgrade wizards for multiple TYPO3 versions at once

2732.7k](/packages/ichhabrecht-core-upgrader)[warete/moonshine-upgrade

Package for upgrade MoonShine

121.9k](/packages/warete-moonshine-upgrade)

PHPackages © 2026

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