FireHub PHPStan Rules is a collection of custom PHPStan rules and extensions designed to enforce strict architectural standards, improve static analysis, and ensure type safety across FireHub projects.
This package extends PHPStan with FireHub-specific validation rules and helpers for:
- Domain-driven architecture enforcement
- Strict type safety rules
- Code quality and consistency checks
- Custom project-level static analysis constraints
Install via Composer (development dependency recommended):
composer require --dev firehub/phpstan-rulesEnable the extension in your phpstan.neon:
includes:
- vendor/firehub/phpstan-rules/rule.neon
- vendor/firehub/phpstan-rules/type.neonThis package ensures that all FireHub projects follow a consistent and enforceable architectural standard by extending PHPStan with custom rules tailored to the FireHub ecosystem.
For security reporting and guidelines, please refer to our SECURITY.md file.
- Be sure to review the Code of Conduct.
- Read a Contributing file to see how you can contribute to this project.
- Read our Security policy file to see how you can report a vulnerability.
- Review the project Governance model, including roles, decision-making, RFC process, and releases.
Please refer to TRADEMARK.md and BRAND.md for guidelines on FireHub branding.
This software is licensed under the MIT License.
For more details, read the full license here.