phpstan
OfficialMaster PHPStan rules and fix errors efficiently.
Authordairectiv
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps teams enforce PHPStan-based static analysis to catch type and compatibility issues in PHP projects.
Core Features & Use Cases
- Enforce project-wide static analysis to identify type mistakes, nullability issues, and incorrect method signatures.
- Provide guidance for configuring PHPStan levels, custom rules, and PHPDoc correctness.
- Use Case: Integrate PHPStan into CI to fail builds when type errors are detected and to guide developers in fixing issues quickly.
Quick Start
Install PHPStan via Composer in your project and run a basic analysis:
- composer require --dev phpstan/phpstan
- vendor/bin/phpstan analyse
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: phpstan Download link: https://github.com/dairectiv/dairectiv/archive/main.zip#phpstan Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.