dms/coding-standard
DMS Coding Standard provides a customized PHPCS ruleset for consistent PHP code style across repositories. Based on PSR-1/PSR-2 with Doctrine flavor, enforcing strict_types declarations and return type spacing rules.
Architecture fit: The package is a PHPCS ruleset designed for PHP projects, making it technically compatible with Laravel's existing tooling stack. However, Laravel typically adheres to PSR-12 standards, while this package extends PSR-1/2 with Doctrine-specific modifications, potentially creating conflicts with Laravel's conventions (e.g., service provider patterns, facade usage).
Integration feasibility: Simple via Composer and PHPCS configuration, but 0 dependents and minimal activity (1 star, last release 2023-09-04) indicate untested edge cases in real-world Laravel environments.
Technical risk: High. Low community adoption, sparse release history, and lack of documented compatibility with modern PHP/PHPCS versions (e.g., PHPCS 3.8+ or PHP 8.x) pose significant stability risks. Potential conflicts with Laravel-specific tooling (e.g., Laravel Pint) are unaddressed.
Key questions: How does this ruleset handle Laravel-specific patterns (e.g., route closures, Eloquent models)? What specific PSR-1/2 deviations exist beyond the README examples? Is it compatible with current PHPCS versions? Are there known issues with Laravel 10+?
Stack fit: Fits PHPCS-based workflows but requires validation against Laravel’s unique conventions. May conflict with existing Laravel tooling (e.g., laravel/pint defaults), necessitating custom rule overrides.
Migration path: Install via Composer, then replace existing `phpcs
How can I help you explore Laravel packages today?