jiripudil/phpstan-sealed-classes
PHPStan extension that adds sealed classes support for PHP: declare which classes/interfaces may extend or implement a type, and have PHPStan report violations. Helps enforce architecture boundaries and prevent unauthorized inheritance in large codebases.
Architecture fit: The package integrates seamlessly into PHPStan's static analysis workflow, extending its capabilities to enforce sealed class constraints without modifying runtime behavior. It operates at the development and CI pipeline stage, complementing existing static analysis practices.
Integration feasibility: High feasibility via Composer installation and PHPStan configuration updates
How can I help you explore Laravel packages today?