CodingStandards
symplify
CodingStandards | symplify | |
---|---|---|
1 | 2 | |
2 | 633 | |
- | - | |
3.8 | 7.3 | |
11 months ago | over 1 year 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.
CodingStandards
-
Why Pint?
Since the php-cs-fixer config file (i.e. .php-cs-fxer.dist.php) is a PHP file you're able to dynamically construct your rule set. I do this with my own coding standards rules that I distribute as a composer package.
symplify
- PHPStan 1.8 now supports Rules to Analyze the Whole Codebase
-
4 Configurable Phpstan Rules That Help Rector
The implementation is actually very simple in PHPStan and it's already done. This is 30 relevant lines. https://github.com/symplify/symplify/blob/e7150b7a902948ad607a22f8a7fadeae4308fbcb/packages/phpstan-rules/src/Rules/CheckTypehintCallerTypeRule.php#L136-L177
What are some alternatives?
composer-installer - Composer installer for PHP_CodeSniffer coding standards
easy-coding-standard - The Easiest way to add coding standard to your PHP project
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer
phpqa - Docker image that provides static analysis tools for PHP
monorepo-split-github-action - Github Action for Monorepo Split
drupal-check - Check Drupal code for deprecations and discover bugs via static analysis
magento-coding-standard - Magento Coding Standard
php-ddd-example - 🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6
Contao - Contao Open Source CMS
VIP-Coding-Standards - PHP_CodeSniffer ruleset to enforce WordPress VIP coding standards.
coding-standard - Coding Standard rules for PHP projects with focus on Clean Architecture