Weave 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
Agents
noldors/phpstan-extension
claude-code
cursor
phpstan-extensions
custom-rules
restricted-usage
type-inference
collectors
neon-config
laravel-integration

Before adding or changing a check, read PHPStan's official Extension Types overview and the documentation for the relevant extension points. Choose the mechanism that matches the requested behaviour and is supported by the package's PHPStan version; explain the choice briefly before implementation.

Install
php artisan boost:add-skill noldors/phpstan-extension

Save this content to: AGENTS.md

# PHPStan extension development

Before adding or changing a check, read PHPStan's official
[Extension Types](https://phpstan.org/developing-extensions/extension-types)
overview and the documentation for the relevant extension points. Choose the
mechanism that matches the requested behaviour and is supported by the package's
PHPStan version; explain the choice briefly before implementation.

Custom `Rule` implementations are one option. Consider restricted usage
extensions for access restrictions, collectors for cross-file analysis,
type-inference extensions for inferred types and reflection extensions for
class metadata. Use the appropriate documented mechanism rather than defaulting
every new check to a custom rule. Verify its registration and behaviour through
consumer-facing tests.

Register framework-independent extensions in `src/php.neon` and Laravel-specific
extensions in `src/laravel.neon`. The Laravel set includes the PHP set.
Keep `src/rules.neon` compatible with its published Laravel entry point.
Keep installation and set connection examples in README.md; document individual
checks and configuration under `docs/`.

PHPStan extension development

Before adding or changing a check, read PHPStan's official Extension Types overview and the documentation for the relevant extension points. Choose the mechanism that matches the requested behaviour and is supported by the package's PHPStan version; explain the choice briefly before implementation.

Custom Rule implementations are one option. Consider restricted usage extensions for access restrictions, collectors for cross-file analysis, type-inference extensions for inferred types and reflection extensions for class metadata. Use the appropriate documented mechanism rather than defaulting every new check to a custom rule. Verify its registration and behaviour through consumer-facing tests.

Register framework-independent extensions in src/php.neon and Laravel-specific extensions in src/laravel.neon. The Laravel set includes the PHP set. Keep src/rules.neon compatible with its published Laravel entry point. Keep installation and set connection examples in README.md; document individual checks and configuration under docs/.

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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console