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

shipmonk/phpstan-rules

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
slam/phpstan-extensions 0.91 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
contributte/phpstan 0.90 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
canvural/larastan-strict-rules 0.89 Extra strict, opinionated PHPStan rules for Laravel. Install via Composer, include rules.neon, and enable or disable checks like no dynamic where, no facades, no global helpers, and no validation in controllers. 91 90 7 26K 0 27.1 39.2 MIT 2 months ago
View on GitHub
dave-liddament/phpstan-php-language-extensions 0.89 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-php-parser 0.89 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/php-language-extensions 0.89 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
shipmonk/phpstan-dev 0.89 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
ergebnis/phpstan-rules 0.89 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
kcs/phpstan-strict-rules 0.89 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
php-static-analysis/phpstan-extension 0.89 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
phpstan/phpstan 0.89 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 4 days 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 2K 0 11.9 40.8 Apache-2.0 8 months ago
View on GitHub
localheinz/phpstan-rules 0.89 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
calebdw/phpstan-laravel 0.89 A PHPStan extension for Laravel that teaches static analysis about Laravel’s magic, including facades, helpers, Eloquent models, and container bindings, reducing false positives and surfacing more accurate type errors in Laravel apps. 35 35 7 12K 0 20.4 40.9 MIT 6 days ago
View on GitHub
phpstan/phpstan-webmozart-assert 0.89 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
phpstan/phpstan-doctrine 0.89 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
sidz/phpstan-rules 0.88 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
phpstan/php-8-stubs 0.88 Stub files for PHP 8 built-in functions, classes, and extensions, maintained for PHPStan. Improves static analysis and type inference by providing accurate signatures and phpDoc where native reflection is incomplete or inconsistent. 31 31 12 333K 3 30.2 65.5 MIT 1 week ago
View on GitHub
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. 287 289 27 54K 7 26.3 36.8 — 4 months ago
View on GitHub
voku/phpstan-rules 0.88 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 7K 1 0.5 32.1 MIT —
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.
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin