firehub/phpstan-rules
最新稳定版本:v1.0.1
Composer 安装命令:
composer require firehub/phpstan-rules
包简介
Custom PHPStan rules and extensions for FireHub projects, providing strict static analysis, architectural validation, and enhanced type safety
README 文档
README
PHPStan Rules & Extensions
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
Installation
Install via Composer (development dependency recommended):
composer require --dev firehub/phpstan-rules
Usage
Enable the extension in your phpstan.neon:
includes: - vendor/firehub/phpstan-rules/rule.neon - vendor/firehub/phpstan-rules/type.neon
Repository Purpose
This package ensures that all FireHub projects follow a consistent and enforceable architectural standard by extending PHPStan with custom rules tailored to the FireHub ecosystem.
Security
For security reporting and guidelines, please refer to our SECURITY.md file.
Community
- 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.
Authors and Contributors
Brand & Trademark
Please refer to TRADEMARK.md and BRAND.md for guidelines on FireHub branding.
License
This software is licensed under the MIT License.
For more details, read the full license here.
统计信息
- 总下载量: 714
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-02