Custom Issues
The plugin ships advanced Laravel-aware static analysis checks that extend Psalm’s built-in diagnostics:
- NoEnvOutsideConfig —
env()called outside the application’s config directory - InvalidConsoleArgumentName —
argument()references undefined console command argument - InvalidConsoleOptionName —
option()references undefined console command option - MissingView —
view()references a non-existent Blade template (opt-in) - MissingTranslation —
__()ortrans()references an undefined translation key (opt-in) - ModelMakeDiscouraged —
Model::make()used instead ofnew Model() - OctaneIncompatibleBinding —
singleton()closure resolves a request-scoped service such as Request, Session, or Auth (auto-enabled whenlaravel/octaneis installed)
Each issue page explains what it detects, why it matters, and how to fix it.