PHPackages                             efabrica/rector-nette - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. efabrica/rector-nette

ActiveRector-extension[Parsing &amp; Serialization](/categories/parsing)

efabrica/rector-nette
=====================

Rector upgrades rules for Nette Framework

0.14.0(3y ago)2785.4k↓43.2%7[2 issues](https://github.com/efabrica-team/rector-nette/issues)[1 PRs](https://github.com/efabrica-team/rector-nette/pulls)1MITPHPPHP &gt;=8.0

Since Mar 20Pushed 3y ago3 watchersCompare

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

READMEChangelogDependencies (18)Versions (75)Used By (1)

Rector Rules for Nette
======================

[](#rector-rules-for-nette)

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

Install
-------

[](#install)

This package is a Rector extension developed by community around Nette. To add it, install package as dependency:

```
composer require efabrica/rector-nette --dev
```

Use Sets
--------

[](#use-sets)

To add a set to your config, use `RectorNette\Set\NetteSetList` class and pick one of constants:

```
use RectorNette\Set\NetteSetList;
use Rector\Config\RectorConfig;

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

Learn Rector Faster
-------------------

[](#learn-rector-faster)

Rector is a tool that [we develop](https://getrector.org/) and share for free, so anyone can save hundreds of hours on refactoring. But not everyone has time to understand Rector and AST complexity. You have 2 ways to speed this process up:

- read a book - [The Power of Automated Refactoring](https://leanpub.com/rector-the-power-of-automated-refactoring)
- hire our experienced team to [improve your code base](https://getrector.org/contact)

Both ways support us to and improve Rector in sustainable way by learning from practical projects.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

Recently: every ~30 days

Total

74

Last Release

1370d ago

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

0.11.2PHP &gt;=8.0

0.11.56PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/25289c62a88df1c404543693ba52e44748dbce486bcfab91fc8c5931a6bb38e1?d=identicon)[dev-efabrica](/maintainers/dev-efabrica)

---

Top Contributors

[![TomasVotruba](https://avatars.githubusercontent.com/u/924196?v=4)](https://github.com/TomasVotruba "TomasVotruba (190 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (17 commits)")[![lulco](https://avatars.githubusercontent.com/u/9377319?v=4)](https://github.com/lulco "lulco (10 commits)")[![sabbelasichon](https://avatars.githubusercontent.com/u/13050560?v=4)](https://github.com/sabbelasichon "sabbelasichon (2 commits)")[![alexndlm](https://avatars.githubusercontent.com/u/6824784?v=4)](https://github.com/alexndlm "alexndlm (1 commits)")

---

Tags

astinstant-upgradesnettephprector

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[driftingly/rector-laravel

Rector upgrades rules for Laravel Framework

1.2k12.0M462](/packages/driftingly-rector-laravel)[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)

PHPackages © 2026

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