rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

Package info

github.com/rectorphp/rector-src

Homepage

pkg:composer/rector/rector-src

Fund package maintenance!

tomasvotruba

Statistics

Installs: 403 290

Dependents: 13

Suggesters: 0

Stars: 136

2.4.6 2026-06-16 14:20 UTC

Suggests

None

Provides

None

Conflicts

None

Replaces

MIT 5dfb29c770aee27d3c8a432c3b5ac6bb4b4c3c36

migrationautomationrefactoring

This package is auto-updated.

Last update: 2026-06-18 22:09:02 UTC


README

👁 Downloads


This repository (rectorphp/rector-src) is for development Rector only. Head to rectorphp/rector for documentation, install or creating an issue.


Building rectorphp/rector

Code of this repository requires PHP 8.3. For rector/rector package the builder downgrades code to PHP 7.4+.


How to Contribute

Please read contributing guideline for how to contribute to rector.


Debug Tests

Do you need to measure speed of particular test? Or just check which test fixture is failing? Make use of pretty print:

 vendor/bin/phpunit -d --enable-pretty-print

Code of Conduct

This project adheres to a Contributor Code of Conduct By participating in this project and its community, you are expected to uphold this code.


Rector Packages CI Status

Symfony - https://github.com/rectorphp/rector-symfony

PHPUnit - https://github.com/rectorphp/rector-phpunit

Doctrine - https://github.com/rectorphp/rector-doctrine

Downgrade PHP - https://github.com/rectorphp/rector-downgrade-php