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 Strict Rules Laravel Package

phpstan/phpstan-strict-rules

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
mll-lab/laravel-utils 0.91 A compact set of practical utilities for Laravel applications, providing reusable helpers and conveniences that cut boilerplate and simplify common development tasks. Easy to install and integrate into existing Laravel projects. Lightweight, dependable building blocks for everyday Laravel developmen... 6 — 3 — 0 20.3 — MIT 5 days ago
View on GitHub
dave-liddament/phpstan-rule-test-helper 0.91 A lightweight test helper for PHPStan custom rules. It provides utilities to run rules against sample code and assert expected errors, reducing boilerplate when validating your static analysis extensions. 1 1 1 9K 3 1.9 51.5 MIT 11 months ago
View on GitHub
larastan/larastan 0.90 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,548 6,559 528 11M 38 85.3 77.9 MIT 6 days ago
View on GitHub
Context7
phpstan/phpstan-php-parser 0.90 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
php-static-analysis/phpstan-extension 0.90 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
wyrihaximus/phpstan-rules-wrapper 0.90 WyriHaximus PHPStan Rules Wrapper bundles popular PHPStan rulesets—ergebnis, strict, deprecation, PHPUnit, Mockery, ShipMonk, Symplify, PSR-3 and more—into one Composer package. Install it and, thanks to phpstan/extension-installer, the included rules work out of the box. 6 6 0 133K 1 31.4 64.7 MIT 1 week ago
View on GitHub
swissspidy/phpstan-no-private 0.90 PHPStan extension that reports deprecation warnings when code uses “pseudo-private” elements marked with @access private. Helps prevent relying on internal classes, methods, functions, or properties. Easy install via Composer with optional extension-installer support. 9 9 1 187K 1 1.4 55.2 MIT 1 year ago
View on GitHub
calebdw/phpstan-laravel 0.90 A PHPStan extension for Laravel that adds framework-aware type inference and rules for facades, helpers, Eloquent models, and container resolutions, helping you catch bugs earlier and write safer, more maintainable PHP. 35 35 7 12K 0 20.4 40.9 MIT 1 week ago
View on GitHub
phpstan/phpstan-deprecation-rules 0.90 PHPStan extension that reports usage of deprecated classes, methods, properties, constants, and traits. Install with composer require --dev phpstan/phpstan-deprecation-rules; supports stub files, custom deprecation markers, and deprecated scopes. 464 469 26 6M 17 28.6 69.6 MIT 3 months ago
View on GitHub
dave-liddament/phpstan-php-language-extensions 0.90 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
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
spaze/phpstan-disallowed-calls 0.90 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. 347 341 23 807K 3 31.6 54.4 MIT 3 weeks ago
View on GitHub
slam/phpstan-extensions 0.90 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 6 days ago
View on GitHub
orrison/meliorstan 0.89 Meliorstan is an Orrison Laravel/PHP package that enhances PHPStan with stricter, framework-aware static analysis. It adds practical rules and easy configuration to catch bugs earlier, improve type safety, and keep Laravel codebases maintainable. 20 20 0 6K 1 19.3 39.5 MIT 3 weeks ago
View on GitHub
ekino/phpstan-banned-code 0.89 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
sidz/phpstan-rules 0.89 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
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
headercat/phpstan-extension-ide-helper 0.89 Provides dummy PHPStan namespace classes and functions so IDEs and autocompletion tools can reference PHPStan internals normally hidden inside its PHAR. Install as a dev dependency to get full autocompletion when writing PHPStan extensions. 9 9 0 5K 1 31.6 43.8 MIT 6 days ago
View on GitHub
localheinz/phpstan-rules 0.89 A Composer package of custom PHPStan rules for stricter static analysis, covering calls, classes, exceptions, methods, and more. Install with composer require --dev ergebnis/phpstan-rules and include rules.neon or use phpstan/extension-installer. 462 462 23 382 1 32.5 4.2 MIT 1 week ago
View on GitHub
soyhuce/phpstan-extension 0.89 A PHPStan extension from Soyhuce that adds custom rules and type extensions for Laravel and PHP projects, helping teams catch bugs earlier and improve static analysis accuracy in CI and local development. 1 — 1 — 0 0.9 1.5 MIT 1 year 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.
tunezilla/openapi-test-validation
hapipay/php-client
uretral/laravel-admin
infinitetoken/lumber
zipzoft/laravel-elasticsearch-client
smronju/nativephp-scanner
arm092/laravel-translation
denisgold/laravel-generator
zxg321/laravel-admin
trailscope/trailscope
intragile/laravel-company-lookup
designmynight/laravel-oauth-introspect-middleware
taras-koval/laravel-starter
ssofy/laravel
datalogix/laravel-error-pages
pushinbr/pam-octane
9in/laravel-server
9in/laravel-events
9in/laravel
pushinbr/pam-laravel