Rector
rector-laravel
Our great sponsors
Rector | rector-laravel | |
---|---|---|
112 | 2 | |
8,188 | 425 | |
1.5% | 10.1% | |
9.9 | 8.3 | |
6 days ago | 5 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Rector
-
Rector keeps your PHP code base fresh and perfect
As part of the journey to PHP perfection, you should embrace Rector. It's a amazing, free, and open-source tool for migrations, code quality, type coverage, pushing PHPStan to the highest levels, and yes, it can even auto-fix your existing code! It seamlessly integrates into the CI process, making your development workflow smoother than ever.
-
Starting with Rector PHP: Improving Your PHP Code with Automation
If you want to explore more the rules, you can take a look at this page: https://github.com/rectorphp/rector/blob/main/docs/rector_rules_overview.md
Website: https://getrector.com/
-
Materials/Topics for Senior dev new to PHP
Yep... Rector
-
Avoiding empty() in PHP
rector/rector
-
7.4 to 8.x upgrade help
https://github.com/rectorphp/rector might be useful.
-
Is it too painful to go from 5.2 to 8.2?
You could give rector a try
- Where to start on upgrading a legacy PHP 5.6 “Laravel” project?
-
Upgrade your project to PHP 8.2 with Rector
Rector is a free and open-source tool written in PHP allowing you to automate various refactoring tasks. It analyses your code and applies whatever rules you've specified in its configuration. It is also possible to create your own rules.
-
What automated tools are there for upgrading old PHP code to the latest PHP versions?
Rector is pretty much the only tool I use anymore.
rector-laravel
What are some alternatives?
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
Phpactor - Mainly a PHP Language Server with more features than you can shake a stick at
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
Psalm - A static analysis tool for finding errors in PHP applications
PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer
GrumPHP - A PHP code-quality tool
phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
phpqa - Docker image that provides static analysis tools for PHP
Saleor - Saleor Core: the high performance, composable, headless commerce API.
setup-php - GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
WordPress Packagist - WordPress Packagist — manage your plugins with Composer