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

sanmai/phpstan-rules

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
korbeil/phpstan-generic-rules 0.89 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
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
kcs/phpstan-strict-rules 0.88 Fork of thecodingmachine/phpstan-strict-rules to support PHPStan v2. Adds stricter best-practice rules beyond core PHPStan, especially around exception handling (avoid throwing base Exception, empty catches, proper rethrowing). 3 3 0 4K 0 0.0 42.1 — —
View on GitHub
Context7
larastan/larastan 0.88 Larastan is a PHPStan extension for Laravel that adds static typing and catches whole classes of bugs before you write tests. It boots your application's container to resolve types only computable at runtime while supporting Laravel's magic. 6,547 6,560 529 11M 39 85.8 78.7 MIT 4 days ago
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
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
thecodingmachine/phpstan-strict-rules 0.87 Extra-strict PHPStan ruleset that flags risky or inconsistent PHP patterns beyond the default checks. Helps enforce cleaner, safer code by catching edge cases and enforcing best practices, with easy opt-in configuration for existing PHPStan setups. 287 289 27 54K 7 26.3 36.8 — 4 months ago
View on GitHub
shipmonk/phpstan-baseline-per-identifier 0.87 Splits your PHPStan baseline into one file per error identifier, with a loader that includes them all. Keeps baselines readable and reduces merge conflicts. Works with PHPStan 2.x baseline generation plus a simple split command. 93 95 4 252K 2 22.9 55.3 — 1 month ago
View on GitHub
symplify/phpstan-rules 0.87 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. 277 270 36 617K 0 25.1 54.1 MIT 2 weeks ago
View on GitHub
spaze/phpstan-disallowed-calls 0.87 PHPStan rules to detect disallowed functions, methods, constants, namespaces, attributes, variables, and properties without running code. Catch leftover debug calls like var_dump() and enforce custom logging or API usage in production. 346 341 23 807K 3 32.4 54.7 MIT 3 weeks ago
View on GitHub
ekino/phpstan-banned-code 0.87 PHPStan extension that detects banned code in your project, like var_dump, exit, eval, print, shell execution, and other unwanted functions. Configure the exact nodes and functions to block, enforce rules in CI, and keep your codebase clean. 299 301 23 220K 4 15.1 43.9 MIT 7 months ago
View on GitHub
phpstan/phpstan-deprecation-rules 0.87 PHPStan extension that reports usage of deprecated classes, methods, properties, constants, and traits. Supports custom deprecation markers and scopes, with stub files for deprecations in third-party code you don’t own. 464 468 26 6M 17 28.8 70.1 MIT 3 months ago
View on GitHub
lookyman/phpstan-symfony 0.86 PHPStan extension for Symfony projects. Improves static analysis with Symfony-specific type inference and container/framework awareness, helping catch bugs earlier and reduce false positives when analyzing services, controllers, and common Symfony patterns. 42 41 5 16 0 1.2 1.3 MIT 8 years ago
View on GitHub
symplify/phpstan-extensions 0.86 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
phpstan/phpstan-phpunit 0.86 PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. 546 550 58 6M 34 44.3 79.3 MIT 1 month ago
View on GitHub
phpstan/phpstan-strict-rules 0.86 Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. 714 721 63 5M 35 45.9 75.1 MIT 5 days ago
View on GitHub
bnf/phpstan-psr-container 0.86 PHPStan dynamic return type extension for PSR-11 ContainerInterface. Improves type inference for $container->get() so services are typed correctly during static analysis. Install via Composer and include extension.neon (or use phpstan/extension-installer). 13 13 4 208K 1 0.6 55.2 GPL-2.0 1 year ago
View on GitHub
staabm/phpstan-psr3 0.86 PHPStan rules that detect PSR-3 logger misuse and security pitfalls: invalid placeholders, context issues, and message formatting mistakes. Works with psr/log, Monolog, Laravel (illuminate/log, LogManager), and REDAXO rex_logger. 23 23 1 187K 1 2.0 55.6 MIT 1 year ago
View on GitHub
eliashaeussler/phpstan-config 0.86 Opinionated PHPStan configuration presets and extensions by Elias Häußler. Drop-in rules and baseline settings to standardize static analysis across projects, reduce false positives, and improve code quality with minimal setup for common PHP/Laravel workflows. 2 2 0 12K 1 9.9 51.9 GPL-3.0 10 months ago
View on GitHub
nette/phpstan-rules 0.86 Extra PHPStan rules from the Nette ecosystem to catch more issues in your PHP codebase. Adds stricter checks and best-practice validations on top of PHPStan, helping improve static analysis coverage and prevent bugs before runtime. 11 10 1 13K 0 0.3 41.8 — —
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.
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast