api
Rector
Our great sponsors
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.
api
-
Workplaces for digital nomads: the API
The composer.json and project configuration is lightened as much as possible: unused packages and classes are removed, platform-check is disabled, and classmap-authoritative is enabled.
Rector
-
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.
-
Ask HN: What is the most pleasant, uncomplicated full stack to start with?
Also, see this: https://github.com/rectorphp/rector
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
- Tools to analyse version-specific PHP code?
-
PHP in 2023 - stitcher.io
Upgrading that clean code should be simple. Especially if you run tools like Rector to do the upgrading automatically.
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
rector-laravel - Rector upgrades rules for Laravel
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.
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.
phpqa - Docker image that provides static analysis tools for PHP