phpstan/extension-installer or manual setup), this plugin could integrate seamlessly if HiDev is already part of the workflow. However, Laravel does not natively use HiDev, so adoption would require intentional integration.phpstan.neon config to include HiDev-specific rules.hiqdev/hidev), which is not a standard Laravel tool. Introducing HiDev adds complexity and may require:
phpstan.neon or HiDev config files, adding friction if the team prefers minimal static analysis setups.vimeo/psalm, phpstan/extension-installer) that better fit the team’s needs?phpstan/phpstan (core static analyzer).phpstan/extension-installer (for Laravel-specific rules).| Tool | Role | Integration Point |
|---|---|---|
| PHPStan | Static analysis | Replace/extend existing config |
| HiDev | Code generation/automation | Pre-commit or CI step |
| Laravel Pint/Pint | Code formatting | Post-static-analysis step |
| Git Hooks/CI | Enforcement | Fail builds on PHPStan errors |
hiqdev/hidev and hiqdev/hidev-phpstan in a non-production Laravel project.phpstan.neon with HiDev-specific rules.services.neon to include HiDev-generated classes..idea or phpstan.neon configurations.make:model, make:migration).phpstan.neon or HiDev configs may diverge from upstream changes, requiring manual syncs.| Risk | Impact | Mitigation Strategy |
|---|---|---|
| HiDev breaks PHPStan |
How can I help you explore Laravel packages today?