jiripudil/phpstan-sealed-classes
PHPStan extension to enforce “sealed” classes in PHP: declare which classes may extend a base class and report violations during static analysis. Helps keep inheritance under control, prevent accidental subclassing, and maintain clear, stable APIs.
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?