About plugin
The plugin helps Psalm to understand Laravel’s code (which uses a lot of magic) better. There are 2 main ways how it does it:
- easy: by providing stub files (you can find them in
/stubsdir) - medium+: using custom Handlers (see
/src/Handlersdir)
Documentation
- Configuration — plugin XML config options and environment variables
- Contributing — how the plugin works, getting started, adding stubs and handlers
- Architecture Decisions — key design decisions and rationale
- Debugging with Xdebug — stepping through plugin code
- Upgrading to v4 — migration guide from v3
Custom Issues
The plugin emits custom issues that Psalm does not have built-in. Each one links to detailed documentation with examples and fix guidance.