Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Psalm Plugin

Psalm Plugin Laravel Package

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.

View on GitHub
Deep Wiki
Context7

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.

  • More specific inferred types for Psl\Type coercions
  • Better support for array shapes and optional keys
  • Improves readability of Psalm output and @psalm-trace results
  • Simple Composer install and one-command activation
  • Compatible across PSL/Psalm version combinations (see matrix)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation