php-standard-library/psalm-plugin
Psalm plugin for PHP Standard Library (PSL) that improves type inference, especially for Psl\Type schemas (e.g., shape/optional), producing precise array shape types after coercion. Install via Composer and enable with psalm-plugin.
PSL Psalm Plugin enhances Psalm’s static analysis for PHP Standard Library (PSL) types, producing richer and more accurate inferred types—especially for Psl\Type specifications like shape() and optional().
Install via Composer and enable it with psalm-plugin to get precise, structured array shapes instead of broad unions, improving correctness and reducing false positives in complex input coercion flows.
Psl\Type coercions@psalm-trace resultsHow can I help you explore Laravel packages today?