symplify
VIP-Coding-Standards
symplify | VIP-Coding-Standards | |
---|---|---|
2 | 1 | |
633 | 230 | |
- | 0.9% | |
7.3 | 8.0 | |
over 1 year ago | 9 days ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
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.
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
VIP-Coding-Standards
-
How do you ensure your plugin is compatible with most themes? Does it come down to just testing a bunch of themes?
If you want to go a step further, follow the WP VIP Coding Standards, WP VIP is Wordpress/Automattic's high-profile/enterprise level hosting. Only plugins that adhere to high coding standards are generally allowed to be used there (from experience).
What are some alternatives?
easy-coding-standard - The Easiest way to add coding standard to your PHP project
coding-standard - Slevomat Coding Standard for PHP_CodeSniffer provides many useful sniffs
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
WordPress-Coding-Standards - PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions
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