yiisoft/yii2-coding-standards
Yii 2 coding standards package providing PHP_CodeSniffer ruleset, sniffs, and tooling configs based on PSR-12 with Yii2-specific tweaks. Use it to enforce Yii2 core style in framework development or in existing Yii2 applications.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dosfarma/coding-standard | 0.90 | Opinionated PHP/Laravel coding standard and tooling preset for DosFarma projects. Includes rules and configuration for consistent formatting and static analysis across repositories, helping keep code style unified in CI and local development. | 0 | 1 | 1 | 0 | 0 | 0.0 | — | MIT | — | |
| lookyman/coding-standard | 0.90 | Opinionated PHP coding standard package for your projects. Install via Composer and reference the bundled ruleset.xml in PHP_CodeSniffer to enforce consistent formatting and style, with room to add your own project-specific rules. | 0 | 0 | 0 | 0 | 0 | 1.1 | — | MIT | 8 years ago | |
| instaclick/symfony2-coding-standard | 0.89 | PHP_CodeSniffer ruleset for enforcing the Symfony2 Coding Standard in PHP projects. Helps keep formatting and conventions consistent across teams and CI, with ready-to-use sniffs and easy integration into existing development workflows. | 9 | 10 | 5 | 65 | 4 | 1.5 | 12.8 | — | 6 years ago | |
| slevomat/coding-standard | 0.89 | — | 1,479 | 1,486 | 194 | 3M | 91 | 62.4 | 81.1 | MIT | 3 weeks ago | |
| shlinkio/php-coding-standard | 0.89 | PHP_CodeSniffer ruleset used by Shlink projects. Extends PSR-12 with strict comparisons, no long arrays, spaced concatenation, no unused imports, ordered uses, required type hints/return types, trailing commas in multiline, and other modern PHP formatting rules. | 3 | 4 | 2 | 3K | 1 | 0.1 | 28.3 | MIT | — | |
| onramplab/onr-phpcs-laravel | 0.89 | Opinionated PHP_CodeSniffer ruleset for Laravel projects. Provides a ready-to-use PHPCS configuration with Laravel-focused coding standards to help keep code style consistent across your app and team. | 0 | 0 | 0 | 835 | 0 | 0.0 | 40.4 | Unlicense | — | |
| sandfox.dev/code-standard | 0.88 | Shared coding standards and tooling used across sandfox.dev PHP/Laravel packages. Provides a consistent rule set for formatting and static analysis to keep code style uniform, reduce review friction, and maintain quality across projects. | 0 | 0 | 0 | 9 | 0 | 0.0 | 13.8 | MIT-0 | — | |
| shiftonelabs/codesniffer-standard | 0.88 | Opinionated PHP_CodeSniffer ruleset by ShiftOneLabs. Provides a shared coding standard for consistent style, formatting, and best practices across PHP/Laravel projects. Easy to install and run with phpcs in CI or local development. | 0 | 0 | 1 | 24 | 0 | 0.1 | 19.3 | MIT | — | |
| kcs/phpstan-strict-rules | 0.88 | Fork of thecodingmachine/phpstan-strict-rules to support PHPStan v2. Adds stricter best-practice rules beyond core PHPStan, especially around exception handling (avoid throwing base Exception, empty catches, proper rethrowing). | 3 | 3 | 0 | 5K | 0 | 0.0 | 43.0 | — | — | |
| jakub-onderka/php-code-style | 0.88 | A PHP coding style toolkit for consistent formatting and style enforcement across projects. Helps standardize code layout and conventions, making reviews easier and reducing style-related noise in diffs for teams and CI pipelines. | 0 | 0 | 1 | 38 | 0 | 0.4 | 22.0 | — | 12 years ago | |
| pccomponentes/coding-standard | 0.88 | PcComponentes Coding Standard adds PHP_CodeSniffer sniffs to enforce consistent PHP style. Install via Composer as a dev dependency and reference vendor/pccomponentes/coding-standard/src/ruleset.xml in your phpcs.xml(.dist) to apply the rules. | 3 | 3 | 3 | 2K | 0 | 27.2 | 42.7 | MIT | 1 month ago | |
| ecphp/php-conventions | 0.88 | Predefined GrumPHP configuration for PHP projects at the European Commission. Adds quality checks via git hooks (or manual runs): license file, composer validation/normalization, linters (YAML/JSON/PHP), Twig CS, PHP-CS-Fixer, PHPCS, PHPStan, Psalm. | 1 | 1 | 1 | 162 | 0 | 0.9 | 28.6 | BSD-3-Clause | 4 years ago | |
| camelot/coding-style | 0.87 | Camelot coding style standard for PHP projects, based on PSR-2 and Symfony2. Provides ready-to-use configurations for PHP_CodeSniffer and PHP-CS-Fixer (composer install, sample phpcs.xml.dist and .php_cs.dist, customizable rules). | 0 | 0 | 1 | 7 | 0 | 0.1 | 12.5 | MIT | — | |
| whatwedo/php-coding-standard | 0.87 | — | 2 | 2 | 1 | 917 | 9 | 3.4 | 38.5 | MIT | 3 years ago | |
| braincrafted/symfony2cs-bundle | 0.87 | — | 3 | 4 | 0 | 0 | 0 | 0.6 | — | MIT | 11 years ago | |
| aik099/coding-standard | 0.87 | A reusable PHP_CodeSniffer coding standard used across aik099 projects. Compatible with PHPCS 3.x+, includes a PHPCS-compliant standard and test suite, and can be run via phpcs --standard=... against your source and tests or integrated into IDEs. | 5 | 5 | 3 | 2K | 49 | 15.1 | 48.3 | BSD-3-Clause | 7 years ago | |
| phpmyadmin/coding-standard | 0.87 | phpMyAdmin Coding Standard provides PHP_CodeSniffer rules based on the Doctrine Coding Standard. Install via Composer and run phpcs with the PhpMyAdmin standard to enforce consistent PHP style across your project. | 20 | 21 | 5 | 25K | 0 | 8.8 | 44.8 | MIT | 8 months ago | |
| binsoul/coding-standard | 0.87 | PHP_CodeSniffer-based coding standard bundle for PHP projects, providing opinionated style rules and configurations to keep code consistent. Easy to install via Composer and integrate into CI for automated code style checks and enforcement. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| lcobucci/coding-standard | 0.87 | PHPCS coding standard based on Doctrine’s rules with a few tweaks. Provides a reusable ruleset to enforce consistent PHP code style across projects, suitable for CI checks and team-wide formatting conventions. | 6 | 6 | 2 | 6K | 1 | 20.1 | 46.1 | MIT | 3 months ago | |
| neuecommerce/coding-standards | 0.87 | Opinionated PHP coding standards for projects using Laravel Pint. Provides a ready-to-use Pint configuration and consistent formatting rules to keep code style uniform across teams and repositories. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — |
How can I help you explore Laravel packages today?