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

Phpstan Generic Rules Laravel Package

korbeil/phpstan-generic-rules

PHPStan extension that enforces and improves the use of PHP generics. Adds custom rules to catch missing or incorrect template types, invalid generic usages, and helps keep docblocks and type hints consistent for safer, more accurate static analysis.

View on GitHub
Deep Wiki
Context7
v2.1.0
v2.0.1

Fix mb_string rule identifier format by @kissifrot in https://github.com/Korbeil/phpstan-generic-rules/pull/16

v2.0.0

Added

  • GH#14 PHPStan 2.0 support
v1.0.1

Added

v1.0.0

Added

Fixed

v0.2.4

Fix phpstan 0.12 incompatibility

v0.2.3

phpstan 0.12 release 🎉

v0.2.2
v0.2.1

Fixed

  • GH#6 Loosening the phpstan requirement
v0.2.0

Added

  • GH#3 MbStringRule for string function that have a mb_* equivalent

Changed

  • GH#4 DebugRule is faster
v0.1.0

Added

  • DebugRule for var_dump, exit and die function calls
  • DebugRule (in Symfony context) for dump and dd function calls
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.
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator
equipc/laravel-email-database-log
adedsec/nova-translated-labels