PHPackages                             rector/rector-nette-to-symfony - 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. rector/rector-nette-to-symfony

AbandonedArchivedRector-extension

rector/rector-nette-to-symfony
==============================

Generate Rector rules from command line

0.11.5(4y ago)796.2k↓84.5%MITPHPPHP &gt;=8.0

Since May 5Pushed 4y ago4 watchersCompare

[ Source](https://github.com/deprecated-packages/rector-nette-to-symfony)[ Packagist](https://packagist.org/packages/rector/rector-nette-to-symfony)[ GitHub Sponsors](https://github.com/tomasvotruba)[ RSS](/packages/rector-rector-nette-to-symfony/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (13)Versions (8)Used By (0)

Rector Nette to Symfony
=======================

[](#rector-nette-to-symfony)

**See [rectorphp/rector-src#290](https://github.com/rectorphp/rector-src/pull/290) for deprecation**

Do you need to migrate from Nette to Symfony? You can ↓

- [How we Migrated 54 357-lines Application from Nette to Symfony in 2 People under 80 Hours](https://tomasvotruba.com/blog/2019/08/26/how-we-migrated-54-357-lines-of-code-nette-to-symfony-in-2-people-under-80-hours/)

3 part series in more depth:

- [How we Migrated from Nette to Symfony in 3 Weeks - Part 1](https://tomasvotruba.com/blog/2019/02/21/how-we-migrated-from-nette-to-symfony-in-3-weeks-part-1/)
- [Why we Migrated from Nette to Symfony in 3 Weeks - Part 2 - Escaping Semantic Hell](https://tomasvotruba.com/blog/2019/03/07/why-we-migrated-from-nette-to-symfony-in-3-weeks-part-2/)
- [Why we Migrated from Nette to Symfony in 3 Weeks - Part 3 - Brain Drain Dead Packages-Lock](https://tomasvotruba.com/blog/2019/03/11/why-we-migrated-from-nette-to-symfony-in-3-weeks-part-3/)

See available [rules](/docs/rector_rules_overview.md)

Install
-------

[](#install)

This package is already part of [rector/rector](http://github.com/rectorphp/rector) package, so it works out of the box.

All you need to do is install the main package, and you're good to go:

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

Use Sets
--------

[](#use-sets)

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

```
use Rector\NetteToSymfony\Set\NetteToSymfonySetList;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;

return static function (ContainerConfigurator $containerConfigurator): void {
    $containerConfigurator->import(NetteToSymfonySetList::NETTE_TO_SYMFONY);
};
```

Read a First Book About Rector
------------------------------

[](#read-a-first-book-about-rector)

Are you curious, how Rector works internally, how to create your own rules and test them and why Rector was born? In May 2021 we've released the very first book: *Rector - The Power of Automated Refactoring*.

[![](https://github.com/rectorphp/the-power-of-automated-refactoring-feedback/raw/main/images/book_title.png)](https://leanpub.com/rector-the-power-of-automated-refactoring)By [buying a book](https://leanpub.com/rector-the-power-of-automated-refactoring) you directly support maintainers who are working on Rector.

Support
-------

[](#support)

Rector is a tool that [we develop](https://getrector.org/) and share for free, so anyone can automate their refactoring. But not everyone has dozens of hours to understand complexity of abstract-syntax-tree in their own time. **That's why we provide commercial support - to save your time**.

Would you like to apply Rector on your code base but don't have time for the struggle with your project? [Hire us](https://getrector.org/contact) to get there faster.

###  Health Score

32

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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 ~8 days

Total

7

Last Release

1732d ago

PHP version history (2 changes)0.10.0PHP &gt;=7.3

0.11.2PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/924196?v=4)[Tomas Votruba](/maintainers/TomasVotruba)[@TomasVotruba](https://github.com/TomasVotruba)

---

Top Contributors

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

---

Tags

instant-migrationnettephprectorsymfony

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/rector-rector-nette-to-symfony/health.svg)

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

PHPackages © 2026

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