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

Phpstan Rules Laravel Package

symplify/phpstan-rules

Extra PHPStan rules by Symplify to catch bugs, improve code quality, and enforce consistent conventions. Easy to install and configure, with a broad set of checks for Symfony/Laravel and modern PHP features to keep your codebase clean.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
voku/phpstan-rules 0.94 Additional PHPStan rules to catch risky and redundant condition logic and comparisons. Detects double negatives, PHP 8 behavior changes (0 vs ''), insane/invalid comparisons (0=='0foo', 0==='0'), and type-mismatch checks (e.g., object vs non-object). 33 33 1 4K 2 1.3 31.2 MIT
View on GitHub
Context7
sidz/phpstan-rules 0.92 Custom PHPStan rules aimed at Laravel projects, helping catch common mistakes and enforce best practices. Adds extra static analysis checks tailored to typical framework patterns, improving code quality, consistency, and confidence during refactors. 31 31 4 19K 0 24.8 45.1 MIT 8 months ago
View on GitHub
Context7
thecodingmachine/phpstan-safe-rule 0.92 PHPStan rule set that flags calls to “unsafe” PHP functions that can return false on failure and suggests using the thecodingmachine/safe equivalents that throw exceptions, helping enforce safer, exception-based error handling in your codebase. 62 62 25 194K 2 26.3 56.7 4 months ago
View on GitHub
Context7
phpstan/phpstan-strict-rules 0.91 Extra strict, opinionated PHPStan rules for strongly typed PHP. Catches loose/unsafe patterns like non-boolean conditions, useless casts, non-numeric arithmetic, missing strict flags in in_array/array_search, variable overwrites in loops, and switch type mismatches. 691 695 58 2M 36 45.5 74.4 MIT 1 month ago
View on GitHub
Deep Wiki
Context7
shipmonk/phpstan-rules 0.90 40 super-strict PHPStan rules from ShipMonk to close gaps even in extra-strict setups. Installs as an extension, configurable per rule (enable/disable, tweak defaults), with options like safer comparisons, enum generics checks, and more. 151 152 24 103K 1 31.3 47.4 2 days ago
View on GitHub
Context7
symplify/phpstan-extensions 0.90 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 177K 0 0.4 50.4 MIT
View on GitHub
Context7
sanmai/phpstan-rules 0.90 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 1K 0 25.3 39.4 Apache-2.0 1 month ago
View on GitHub
Context7
ergebnis/phpstan-rules 0.89 A set of extra PHPStan rules to enforce stricter, opinionated code standards in PHP projects. Install via Composer and include rules.neon (auto via phpstan/extension-installer) to catch issues like named arguments, class design, and more. 444 444 22 255K 6 33.8 48.0 MIT 2 months ago
View on GitHub
Context7
localheinz/phpstan-rules 0.89 Custom PHPStan rules to enforce stricter coding standards in PHP projects. Includes ready-to-use rules.neon (auto-loaded via phpstan/extension-installer) with checks like no named arguments, class final enforcement, and more. Install via Composer as a dev dependency. 444 443 22 297 6 33.8 6.8 MIT 2 months ago
View on GitHub
Context7
wyrihaximus/phpstan-rules-wrapper 0.89 Meta-package that bundles popular PHPStan rule sets and extensions for stricter static analysis. Install via Composer and it works automatically with phpstan/extension-installer, pulling in deprecation, PHPUnit/Mockery, strict rules, dead-code detection, and more. 6 6 0 28K 1 29.2 58.5 MIT 1 month ago
View on GitHub
Context7
thecodingmachine/phpstan-strict-rules 0.89 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. 289 289 27 71K 9 34.1 43.3 4 years ago
View on GitHub
Deep Wiki
Context7
carthage-software/mago 0.81 Mago is an extremely fast PHP linter, formatter, and static analyzer written in Rust. It brings Rust-inspired speed and reliability to PHP projects with a modern toolchain and great developer experience, plus multiple install options (script, Homebrew, Composer). 2,995 2,995 144 116K 86 71.6 55.8 Apache-2.0 1 day ago
View on GitHub
Deep Wiki
Context7
pedrotroller/php-cs-custom-fixer 0.81 Custom fixers for PHP-CS-Fixer. Adds rules like ordering Behat context step definition methods by annotation and method name, with options for detecting context classes. Install via Composer and register the fixers in your .php_cs(.dist) config. 81 83 10 17K 4 32.2 45.2 6 months ago
View on GitHub
Context7
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
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
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