Download the PHP package rector/rector-generator without Composer
On this page you can find all versions of the php package rector/rector-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rector/rector-generator
More information about rector/rector-generator
Files in rector/rector-generator
Download rector/rector-generator
More information about rector/rector-generator
Files in rector/rector-generator
Vendor rector
Package rector-generator
Short Description Generate Rector rules from command line
License MIT
Homepage https://getrector.com
Package rector-generator
Short Description Generate Rector rules from command line
License MIT
Homepage https://getrector.com
Please rate this library. Is it a good library?
Informations about the package rector-generator
Rector Generator
Every Rector rule requires test, test fixtures, config and the rule.
~80 % of the code is repeated text - namespace, Rector name, default test setup etc.
This package will save your typing the repeated code and gives you more space for writing refactor()
method logic.
How to Generate a new Rule?
-
Initialize
rector-recipe.php
config -
Complete parameters in
rector-recipe.php
to design your new rule - Run command
That's it :)
All versions of rector-generator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
nette/utils Version ^3.2|^4.0
nikic/php-parser Version ^4.18
symfony/console Version ^6.4
symfony/finder Version ^6.4
webmozart/assert Version ^1.11
symfony/filesystem Version ^6.4
illuminate/container Version ^10.42
nette/utils Version ^3.2|^4.0
nikic/php-parser Version ^4.18
symfony/console Version ^6.4
symfony/finder Version ^6.4
webmozart/assert Version ^1.11
symfony/filesystem Version ^6.4
illuminate/container Version ^10.42
The package rector/rector-generator contains the following files
Loading the files please wait ....