setup-php
PHP CS Fixer
Our great sponsors
setup-php | PHP CS Fixer | |
---|---|---|
31 | 41 | |
2,790 | 12,543 | |
- | 1.1% | |
8.8 | 9.8 | |
5 days ago | 7 days ago | |
TypeScript | 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.
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
PHP CS Fixer
-
8 Essential Tools Every PHP Developer Needs
PHP-CS-Fixer automatically fixes PHP coding standard issues, maintaining a clean codebase and adhering to coding standards. It can be integrated into the development workflow to ensure all code complies with defined standards.
-
Avoiding empty() in PHP
friendsofphp/php-cs-fixer
- PHP-CS-Fixer doesn't fix a lot of things?
- Laravel measuring system?
-
PHP in 2023 - stitcher.io
While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
-
Write a PHP library supports PHP 5.6 to 8.1
I run two tools for this - php-cs-fixer on PHP 5.6 and the built-in syntax checker(php -l).
-
Featherweight library to write to slack channel
You can use this library to help automate this: https://github.com/FriendsOfPHP/PHP-CS-Fixer š
-
How I was able to install php-cs-fixer. Vscode + Linux machine
To be bit a elaborate and for a proper updated installtion process, here is what I did: I used the [latest versio]n(https://github.com/FriendsOfPHP/PHP-CS-Fixer/releases/tag/v3.10.0) of php cs fixer then entered the command that followed to install php-cs-fixer.
-
Revisiting GitLab as a PHP Developer
PHP CS Fixer is able to generate a GitLab formatted report which GitLab can use to show you any new violations in the code or even if code style violations have been tackled.
-
7 Laravel Packages to Improve Coding Standards and ReduceĀ Bugs
Laravel Pint is an opinionated PHP code style fixer for minimalists. Pint is built on top of PHP-CS-Fixer and makes it simple to ensure that your code style stays clean and consistent. Pint is a new addition to the Laravel framework.
What are some alternatives?
Phing - PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
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.
Bob - Hi I'm Bob! I'm a tiny and messy build tool for PHP projects
GrumPHP - A PHP code-quality tool
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
PHP-Parallel-Lint - This tool check syntax of PHP files faster than serial check with fancier output.
Box
PHP Mess Detector - PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.