Rector
setup-php
Our great sponsors
Rector | setup-php | |
---|---|---|
112 | 31 | |
8,222 | 2,790 | |
1.9% | - | |
9.9 | 8.8 | |
1 day ago | 2 days ago | |
PHP | TypeScript | |
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
Website: https://getrector.com/
-
What Would You Do? PHP 8 and WordPress Theme
If you want a speed boost, there's a tool: https://github.com/rectorphp/rector
-
How to investigate PHP 8.0 compatibility in my application
Rector can help automating some changes.
-
Materials/Topics for Senior dev new to PHP
Yep... Rector
-
Upgrading PHP 7.4 to 8.0
I'd also recommend taking a look at Rector to help automate some of this.
-
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
-
PHP Deprecated: mysql_connect()
If you want to upgdate an old project quickly, I recommend checking out Rector, which, among other uses, can quickly update code from older PHP versions.
setup-php
-
Write a PHP library supports PHP 5.6 to 8.1
I found shivammathur/setup-php did a better job on supporting old PHP versions, and you don't have to worry about the composer & extension compatibility, it handles those for you.
-
Deployer v7 release
this is a good base https://github.com/shivammathur/setup-php
- GitHub Action for PHP (shivammathur/setup-php) v2.21.0 released
-
A GitHub Workflow to Check the Compatibility of Your PHP Package with a Range of Dependency Versions
Setup PHP (GitHub Action)
-
GitHub Action for PHP (shivammathur/setup-php) v2.19.0 released
There is also an RSS feed you can subscribe for setup-php releases https://github.com/shivammathur/setup-php/releases.atom
- GitHub Action for PHP (shivammathur/setup-php) v2.18.0 released
- GitHub Action for PHP (shivammathur/setup-php) v2.17.0 released
What are some alternatives?
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
Phing - PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
Construct - A PHP project/micro-package generator for PDS compliant projects or micro-packages.
Phpactor - Mainly a PHP Language Server with more features than you can shake a stick at
Bob - Hi I'm Bob! I'm a tiny and messy build tool for PHP projects
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
qodana-action - ⚙️ Scan your Go, Java, Kotlin, PHP, Python, JavaScript, TypeScript, .NET projects at GitHub with Qodana. This repository contains Qodana for Azure, GitHub, CircleCI and Gradle
Psalm - A static analysis tool for finding errors in PHP applications
Box
PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer
PHP Noise - A starter-kit for your PHP project.