Php Inspections (EA Extended) is a free JetBrains plugin that runs deterministic inspections for architecture, types, performance, security, and PHPUnit usage in PHP code.
Overview
Php Inspections (EA Extended) is an open-source static code analysis plugin for PhpStorm and IntelliJ IDEA Ultimate from the 2024.3 generation onward. It applies pattern recognition, type analysis, and workflow checks as you edit PHP sources inside the IDE.
Inspection coverage includes architecture concerns, weak typing and simplification opportunities, performance pitfalls, duplicated or suspicious conditionals, magic method usage, regular expressions, exception handling flow, compatibility problems, time-consuming bugs, PHPUnit API usage, and security issues. Some rules expect conditional bodies to use grouped statements before additional checks apply.
The plugin runs inside the editor with shortcuts to inspect the current file or run inspections by name. A commercial sibling, Php Inspections (EA Ultimate), adds further inspections; the free edition remains fully functional for core review tasks. Marketplace documentation notes that analysis can be CPU-intensive on large projects.
Installation follows JetBrains Marketplace plugin setup linked from the project documentation. The tool is vendor-published under the com.kalessil.phpStorm.phpInspectionsEA plugin ID and integrates with standard PhpStorm inspection UI rather than as a standalone CLI service.
Key features
- In-IDE PHP inspections
- Architecture and type checks
- Performance and bug patterns
- Security issue detection
- PHPUnit API validation
- Regex and exception workflow rules
- Inspection profiles in PhpStorm
- Free open-source edition
Use cases
- Day-to-day PHP code review
- Catching compatibility issues
- Security smell detection
- PHPUnit usage validation
- Refactoring guidance in PhpStorm