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 Rules Laravel Package

symplify/phpstan-rules

A set of 80+ practical PHPStan rules for checking clean architecture, logical errors, naming, namespace placement, visibility overrides, and Symfony, Doctrine, and PHPUnit best practices—useful for any PHP project, from legacy codebases to modern stacks.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
symplify/phpstan-extensions 0.89 Extra PHPStan rules and extensions from Symplify to improve static analysis of PHP projects. Adds better type inference and framework-aware checks, helping catch bugs earlier and keep codebases consistent with minimal configuration. 39 39 5 281K 0 0.4 53.1 MIT —
View on GitHub
Context7
localheinz/phpstan-rules 0.88 A Composer package of PHPStan rules from ergebnis that enforce stricter coding standards, covering areas like final classes, named arguments, and class extension. Install via Composer and include rules.neon, or let phpstan/extension-installer handle it automatically. Best layered on top of PHPStan's... 462 462 23 382 1 32.5 4.2 MIT 1 week ago
View on GitHub
wyrihaximus/phpstan-rules-wrapper 0.88 WyriHaximus PHPStan Rules Wrapper bundles popular PHPStan rulesets—ergebnis, strict, deprecation, PHPUnit, Mockery, ShipMonk, Symplify, PSR-3 and more—into one Composer package. Install it and, thanks to phpstan/extension-installer, the included rules work out of the box. 6 6 0 133K 1 31.8 64.9 MIT 6 days ago
View on GitHub
symplify/parameter-name-guard 0.88 PHPStan extension that guards parameter names in public APIs, helping prevent backward-compatibility breaks with PHP 8 named arguments. It flags risky renames so library maintainers can keep signatures stable and safe. 10 — 0 — 0 0.0 — MIT —
View on GitHub
sanmai/phpstan-rules 0.88 Extra PHPStan rules from sanmai that extend static analysis for PHP projects. Helps catch additional issues not covered by core rules, improving code quality and consistency with minimal setup. 3 4 0 2K 0 11.9 40.8 Apache-2.0 8 months ago
View on GitHub
rector/phpstan-rules 0.88 PHPStan rules for Rector projects that catch common mistakes in Rector rules and configuration, helping you keep automated refactorings safer and more consistent. Use these ready-made checks to validate custom rules and configs before they rewrite your codebase. Ideal for teams maintaining custom Re... 0 13 — 118 — 0.0 28.7 — —
View on GitHub
phpstan/phpstan-symfony 0.88 PHPStan extension for Symfony that provides accurate return types for the container, controllers, requests, responses, forms, serializer, cache, and other framework APIs, helping catch bugs earlier and improving static analysis in Symfony projects. 806 809 107 4M 60 55.2 86.3 MIT 1 week ago
View on GitHub
contributte/phpstan 0.88 Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. 1 2 2 24K 0 4.8 56.9 MIT 10 months ago
View on GitHub
ergebnis/phpstan-rules 0.88 A Composer package of PHPStan rules from ergebnis, bundled in rules.neon and auto-included via phpstan/extension-installer. Adds stricter checks such as final classes, forbidden extends, and no named arguments to complement PHPStan core and strict rules. 461 463 23 649K 1 32.5 51.0 MIT 1 week ago
View on GitHub
oro/phpstan-rules 0.88 Oro PHPStan Rules adds custom static analysis checks to PHPStan for Laravel and PHP projects, helping teams catch risky patterns, enforce coding standards, and improve code quality early in CI. Lightweight and easy to integrate. 13 13 5 538 1 0.4 22.0 MIT 2 years ago
View on GitHub
symplify/rule-doc-generator 0.87 Generate consistent, readable documentation for custom PHP rules. Symplify Rule Doc Generator creates rule descriptions and examples automatically, helping you document PHPStan, Rector, or coding-standard rules quickly and keep docs in sync with code. 30 31 3 17K 0 0.2 38.0 MIT —
View on GitHub
Context7
slam/phpstan-extensions 0.87 PHPStan extensions with extra strict rules: unused variables, closure parameter typehints, enforce ::class notation, forbid goto, naming conventions, validate PHPUnit annotation FQCNs, and restrict access to globals/static properties in specific contexts. 71 72 13 42K 2 21.8 43.2 MIT 5 months ago
View on GitHub
dave-liddament/phpstan-php-language-extensions 0.87 A PHPStan extension that adds support for extra PHP language features and type declarations, widening static analysis coverage so PHPStan understands more of your code. Helps catch bugs earlier and reduces false positives in Laravel and PHP projects. 44 45 4 25K 0 2.1 38.5 MIT 11 months ago
View on GitHub
phpstan/phpstan-doctrine 0.87 PHPStan extension for Doctrine ORM/ODM: validates DQL and QueryBuilder, infers repository magic methods and EntityManager return types, checks entity field/relationship type mismatches and mapping errors, improves query result typing, and flags proxy-related issues. 681 683 125 3M 77 57.8 87.6 MIT 1 week ago
View on GitHub
rector/type-perfect 0.87 Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. 105 105 7 403K 0 10.5 43.6 MIT 3 months ago
View on GitHub
Context7
sidz/phpstan-rules 0.87 sidz/phpstan-rules adds extra PHPStan rules for catching magic numbers in comparisons, assignments, function arguments, and arithmetic. Install via Composer and configure ignored numbers, numeric strings, and rule exclusions. 30 31 4 29K 0 23.1 47.7 MIT 1 month ago
View on GitHub
korbeil/phpstan-generic-rules 0.87 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. 12 12 4 6K 2 3.9 36.6 — 1 year ago
View on GitHub
phpstan/phpstan-php-parser 0.87 PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. 23 23 8 19K 1 0.3 28.3 — 4 years ago
View on GitHub
solido/phpstan-rules 0.87 Custom PHPStan ruleset for Solido-based projects. Adds extra static analysis for enhanced DTOs with simple phpstan.neon config to declare DTO namespaces and excluded interfaces, helping catch type and structure issues across your application. 2 2 1 398 0 0.0 29.4 — —
View on GitHub
Context7
shipmonk/phpstan-rules 0.87 ShipMonk PHPStan strict rules adds about 40 opinionated, super-strict checks beyond native PHPStan, targeting gaps like unsafe comparisons, casts, and array keys. Install via Composer, include rules.neon, and disable or reconfigure any rule per project. 156 158 23 376K 1 30.2 55.9 MIT 1 month ago
View on GitHub
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.
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
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource