firehub/phpstan-rules

Custom PHPStan rules and extensions for FireHub projects, providing strict static analysis, architectural validation, and enhanced type safety

Maintainers

Package info

github.com/The-FireHub-Project/PHPStan-Rules

Homepage

Forum

Documentation

pkg:composer/firehub/phpstan-rules

Fund package maintenance!

The-FireHub-Project

Statistics

Installs: 564

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-04-08 08:01 UTC

This package is auto-updated.

Last update: 2026-04-08 08:02:36 UTC


README

release version GitHub license

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

GitHub created at GitHub release date GitHub last commit (branch) GitHub activity (branch) GitHub contributors GitHub language count GitHub top language GitHub repo size GitHub code size

FireHub Icon Installation

Packagist PHP Version Packagist Stars Packagist Downloads

Install via Composer (development dependency recommended):

composer require --dev firehub/phpstan-rules

FireHub Icon Usage

Enable the extension in your phpstan.neon:

includes:
- vendor/firehub/phpstan-rules/rule.neon
- vendor/firehub/phpstan-rules/type.neon

FireHub Icon 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.

FireHub Icon Security

OpenSSF Scorecard

For security reporting and guidelines, please refer to our SECURITY.md file.

FireHub Icon Community

FireHub Icon Authors and Contributors

  • Project authors can be found here.
  • The full list of individual contributors can be found here.

FireHub Icon Brand & Trademark

Please refer to TRADEMARK.md and BRAND.md for guidelines on FireHub branding.

FireHub Icon License

This software is licensed under the MIT License.

For more details, read the full license here.