PHP-CS-Fixer
phpinsights
PHP-CS-Fixer | phpinsights | |
---|---|---|
3 | 7 | |
11,621 | 5,206 | |
- | - | |
10.0 | 5.7 | |
over 1 year ago | about 1 month 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.
PHP-CS-Fixer
-
Laravel code-quality tools
If you don't want to use any of those presets, your only option is to specify the all the rules by hand. Pint is built on top of PHP CS Fixer so you can use all the rules that it has. You can use the PHP-CS-Fixer configurator to cherry-pick your own set of rules.
-
💅 Automatically Format PHP Code
1.1. Install the package php-cs-fixer
-
how can I know if I am following PSR standards
But I think in most cases they just mean follow the Coding Standard, Which still can be PSR-1, PSR-12 or the new PER Coding Standard. In this case I just recommend your company to add php-cs-fixer to the codebase to apply coding standards rules you want to follow. Good it it does not just lint it it will already fix it.
phpinsights
-
Laravel code-quality tools
PHP Insights is a code quality analysis tool that checks for code quality, coding style, complexity, and architecture. Just like Pint, it's also opinionated, so you'll have to customize it to fit your needs.
- Recommended Code Review Plugin for Github?
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
PHP Insights is a static analysis tool of your code directly from your terminal. By running a single command it displays the Quality of Code, Complexity of Code, Architecture and Coding Style.
-
How to Build and Distribute Beautiful Command-Line Applications with PHP and Composer
PHP Insights
-
🍃 Termwind v1.0 Released!
https://github.com/nunomaduro/phpinsights.
-
PHP libraries and tools
PHP Insights: Instant PHP quality checks from your console
-
What dev composer packages are a must have?
But there are no similar tools. Here would be the issue, where this problem is discussed. https://github.com/nunomaduro/phpinsights/issues/445
What are some alternatives?
tlint - Tighten linter for Laravel conventions.
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
coding-standard - Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
PHP Parser - A PHP parser written in PHP
phpstan-rules - 👓 Provides a composer package with rules for phpstan/phpstan.
food-order-gh-action-test
laravel-ide-helper - IDE Helper for Laravel
laravel-code-style - Automatic code formatting for Laravel projects
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
husky-php - Git hooks made easy!! 🎉PHP is combined with composer to implement functionality similar to js's NPM module husky
laravel-stats - 📈 Get insights about your Laravel or Lumen Project