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

voku/phpstan-rules

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).

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
thecodingmachine/phpstan-safe-rule 0.94 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 216K 3 25.1 56.7 1 month ago
View on GitHub
Context7
localheinz/phpstan-rules 0.92 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. 460 458 24 494 6 24.1 8.9 MIT 6 months ago
View on GitHub
Context7
ergebnis/phpstan-rules 0.90 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. 460 459 24 426K 6 24.1 47.8 MIT 6 months ago
View on GitHub
Context7
symplify/phpstan-rules 0.89 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. 270 268 30 585K 0 21.1 53.0 MIT 1 month ago
View on GitHub
Context7
sanmai/phpstan-rules 0.89 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 17.6 39.2 Apache-2.0 5 months ago
View on GitHub
Context7
pepakriz/phpstan-exception-rules 0.88 PHPStan extension that adds custom rules for analyzing exceptions. It helps catch improper throwing/catching, missing @throws annotations, and other exception-related issues to improve correctness and maintainability in PHP codebases. 109 111 10 4K 8 12.1 23.4 4 years ago
View on GitHub
Context7
thecodingmachine/phpstan-strict-rules 0.88 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 290 27 51K 7 32.8 38.3 1 month ago
View on GitHub
Deep Wiki
Context7
sidz/phpstan-rules 0.88 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 29K 0 5.0 41.0 MIT 1 year ago
View on GitHub
Context7
phpstan/phpstan-strict-rules 0.84 Extra-strict, opinionated PHPStan rules for highly defensive, strongly typed PHP. Enforces boolean conditions, numeric operands, strict calls (e.g., in_array), detects useless casts, prevents loop variable overwrites, and requires matching switch/case types. 704 713 62 3M 38 46.2 74.5 MIT 2 weeks ago
View on GitHub
Deep Wiki
Context7
kcs/phpstan-strict-rules 0.84 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 41.7
View on GitHub
Context7
wyrihaximus/phpstan-rules-wrapper 0.82 Composer wrapper that bundles popular PHPStan rule sets and extensions into one install. Works out of the box with phpstan/extension-installer, pulling in strict, deprecation, PHPUnit, Mockery, dead-code detection, PSR-3, and type-coverage rules. 6 6 0 133K 1 31.3 64.9 MIT 1 day 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.
althinect/enum-permission
andydefer/laravel-actions
aimeos/prisma
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor