drupol/php-conventions
Opinionated PHP conventions toolkit with presets for code style, static analysis, and QA tooling. Helps standardize projects quickly by providing shared configuration and automation-friendly defaults for common PHP workflows.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpstan/phpstan | 0.92 | PHPStan is a static analysis tool for PHP that finds bugs without running your code. It catches whole classes of errors early, improving type safety and code correctness, and helps you spot issues before writing tests or deploying. | 14,057 | 14,126 | 958 | 10M | 1,072 | 94.7 | 73.3 | MIT | 1 day ago | |
| rollerscapes/standards | 0.92 | — | 0 | 0 | 0 | 167 | 0 | 15.7 | 34.4 | — | 4 months ago | |
| shipmonk/phpstan-rules | 0.91 | 40 super-strict PHPStan rules from ShipMonk to plug gaps in extra-strict setups. Install via Composer, include rules.neon, then enable/disable or tune rules per-project. Targets tricky PHP edge cases like unsafe comparisons, casts, arrays, enums and more. | 155 | 154 | 23 | 211K | 1 | 28.4 | 50.9 | MIT | 2 months ago | |
| korbeil/phpstan-generic-rules | 0.91 | PHPStan extension that enforces and improves the use of PHP generics. Adds custom rules to catch missing or incorrect template types, invalid generic usages, and helps keep docblocks and type hints consistent for safer, more accurate static analysis. | 12 | 12 | 5 | 7K | 2 | 7.8 | 39.3 | — | 9 months ago | |
| contributte/phpstan | 0.91 | Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. | 1 | 2 | 2 | 1K | 0 | 10.6 | 42.6 | MIT | 7 months ago | |
| kcs/phpstan-strict-rules | 0.91 | 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 | 4K | 0 | 0.0 | 41.7 | — | — | |
| phpstan/phpstan-strict-rules | 0.90 | Extra-strict, opinionated PHPStan rules for highly defensive, strongly typed PHP. Enforces boolean conditions, numeric operands, strict calls (e.g., in_array), detects useless casts, prevents loop variable overwrites, and requires matching switch/case types. | 704 | 713 | 62 | 3M | 38 | 46.2 | 74.5 | MIT | 2 weeks ago | |
| e-lodgy/coding-standard | 0.89 | E-Lodgy’s shared Easy Coding Standard (ECS) configuration for PHP projects. Install via Composer, import the provided ecs.php, and apply consistent formatting and code style rules across your src, tests, and config files. | 0 | 0 | 1 | 5 | 1 | 2.6 | 10.7 | MIT | 2 years ago | |
| arty/php-coding-standard | 0.88 | — | 2 | 3 | 0 | 8 | 0 | 11.2 | 9.6 | MIT | 7 months ago | |
| worksome/coding-style | 0.88 | Worksome’s shared PHP coding style package. Generates ready-to-use configs for Easy Coding Standard (ECS), PHPStan, and Rector, extending PSR-12 with additional and customized rules. Install via Composer, generate stubs, and run via composer scripts. | 49 | 49 | 4 | 12K | 0 | 30.0 | 38.8 | MIT | 4 weeks ago | |
| neuecommerce/coding-standards | 0.88 | 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 | — | |
| phpstan/phpstan-deprecation-rules | 0.87 | — | 458 | 463 | 25 | 3M | 17 | 34.1 | 71.2 | MIT | 1 week ago | |
| ergebnis/phpstan-rules | 0.86 | A set of extra PHPStan rules to enforce stricter, opinionated code standards in PHP projects. Install via Composer and include rules.neon (auto via phpstan/extension-installer) to catch issues like named arguments, class design, and more. | 459 | 457 | 24 | 345K | 6 | 24.1 | 47.8 | MIT | 6 months ago | |
| localheinz/phpstan-rules | 0.86 | Custom PHPStan rules to enforce stricter coding standards in PHP projects. Includes ready-to-use rules.neon (auto-loaded via phpstan/extension-installer) with checks like no named arguments, class final enforcement, and more. Install via Composer as a dev dependency. | 459 | 456 | 24 | 395 | 6 | 24.1 | 8.9 | MIT | 6 months ago | |
| ecphp/php-conventions | 0.86 | 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 | |
| slevomat/coding-standard | 0.86 | — | 1,480 | 1,486 | 194 | 3M | 91 | 63.6 | 81.4 | MIT | 6 days ago | |
| dosfarma/coding-standard | 0.86 | 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 | — | |
| sandfox.dev/code-standard | 0.85 | 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 | 10 | 0 | 0.0 | 14.4 | MIT-0 | — | |
| aik099/coding-standard | 0.85 | 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 | 47 | 14.5 | 47.7 | BSD-3-Clause | 7 years ago | |
| 21torr/janus | 0.85 | Janus PHP provides shared configuration for CI and PHP code style tools, making it easy to standardize linting, formatting, and automation across projects. Includes ready-to-use presets and documentation for quick setup. | 0 | 0 | 0 | 404 | 0 | 23.1 | 41.7 | MIT | 1 month ago |
How can I help you explore Laravel packages today?