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

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
shipmonk/phpstan-dev 0.88 Utilities for developing PHPStan rules: write expected errors directly in fixture files using // error: comments and avoid brittle line-number assertions. Includes an autofix mode to generate/update inline error comments during rule development. 7 7 1 6K 1 7.2 41.5 MIT 9 months ago
View on GitHub
eliashaeussler/phpstan-config 0.88 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
php-static-analysis/phpstan-extension 0.88 A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. 15 15 0 2K 0 0.1 30.0 MIT 1 year ago
View on GitHub
grifart/phpstan-oneline 0.88 A PHPStan extension that formats each reported error on a single line, making analysis output easier to read, search, and parse in CI logs or terminals. Useful for grep-friendly error reports and cleaner build output. 24 — 5 — 1 0.5 — MIT 1 year ago
dave-liddament/php-language-extensions 0.88 PHP Language Extensions adds attributes for immutable classes, pure functions, read-only properties, and named parameters, with PHPStan rules to enforce them. Bring stronger safety and clearer APIs to PHP without waiting for new syntax. 196 196 5 27K 3 3.1 30.6 MIT 11 months ago
View on GitHub
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 24.3 — 4 years ago
View on GitHub
phpstan/phpstan-php-parser 0.88 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
dave-liddament/phpstan-php-language-extensions 0.88 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 1.7 38.4 MIT 11 months ago
View on GitHub
phpstan/phpstan 0.88 PHPStan is a PHP static analysis tool that finds bugs in your code without running it. It catches whole classes of errors before tests are written, bringing compiled-language-style correctness checks to PHP projects. 14,147 14,221 972 19M 1,056 94.9 77.1 MIT 3 days ago
View on GitHub
Context7
phpstan/phpstan-doctrine 0.88 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
pb30/phpstan-composer-analysis 0.88 A PHPStan extension that analyzes your Composer dependencies alongside your code, flagging unused required packages and missing package requirements. Keep composer.json in sync with real usage while running your existing static analysis. 17 17 1 16K 1 1.5 41.4 — 11 months ago
View on GitHub
solido/phpstan-rules 0.88 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
phan/phan 0.88 Phan is a PHP static analyzer that minimizes false positives by proving incorrectness rather than correctness. It checks type compatibility, tracks values, and catches common issues. Install via Composer, configure with --init, and run with vendor/bin/phan. 5,624 5,628 367 222K 778 86.2 54.6 NOASSERTION 3 weeks ago
View on GitHub
phpstan/phpstan-webmozart-assert 0.88 PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. 185 185 33 639K 5 12.3 50.1 MIT 1 year ago
View on GitHub
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
oro/phpstan-rules 0.87 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
nette/phpstan-rules 0.87 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
kcs/phpstan-strict-rules 0.87 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
ergebnis/phpstan-rules 0.87 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
sanmai/phpstan-rules 0.87 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
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource