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

nette/phpstan-rules

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
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
wyrihaximus/phpstan-rules-wrapper 0.87 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.8 64.9 MIT 6 days ago
View on GitHub
slam/phpstan-extensions 0.87 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
localheinz/phpstan-rules 0.87 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
nowo-tech/phpstan-frankenphp 0.86 PHPStan support for FrankenPHP projects. Ships stubs and rules covering frankenphp_* functions, worker-mode globals and runtime constants, so static analysis understands your FrankenPHP app and flags type errors early. Install with Composer and register the extension in phpstan.neon. 0 0 1 35K 0 19.5 64.8 MIT 2 weeks ago
View on GitHub
symplify/phpstan-rules 0.86 A set of 80+ practical PHPStan rules for checking clean architecture, logical errors, naming, namespace placement, visibility overrides, and Symfony, Doctrine, and PHPUnit best practices—useful for any PHP project, from legacy codebases to modern stacks. 277 270 36 617K 0 25.1 54.1 MIT 2 weeks ago
View on GitHub
voku/phpstan-rules 0.86 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
soyhuce/phpstan-extension 0.86 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
calebdw/phpstan-laravel 0.86 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 5 days ago
View on GitHub
sanmai/phpstan-rules 0.86 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
php-static-analysis/phpstan-extension 0.86 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
shipmonk/phpstan-rules 0.86 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
sidz/phpstan-rules 0.86 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/phpstan-nette 0.86 PHPStan extension for the Nette Framework providing precise type inference for components, DI container getByType/createInstance, forms, dynamic Html methods, magic properties, and presenters, plus optional rules for regex validation and Nette\Object deprecation. 118 119 46 227K 6 33.5 58.7 MIT 3 weeks ago
View on GitHub
headercat/phpstan-extension-ide-helper 0.86 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.7 43.8 MIT 1 week ago
View on GitHub
bnf/phpstan-psr-container 0.86 PHPStan dynamic return type extension for PSR-11 ContainerInterface. Improves type inference for $container->get() so services are typed correctly during static analysis. Install via Composer and include extension.neon (or use phpstan/extension-installer). 13 13 4 208K 1 0.6 55.2 GPL-2.0 1 year ago
View on GitHub
oro/phpstan-rules 0.85 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
lychee-org/phpstan-lychee 0.85 PHPStan extension for Lychee that adds custom rules, stubs, and type information to improve static analysis of Lychee-based Laravel applications. It helps catch Lychee-specific errors earlier, enforce coding standards, and keep analysis consistent across projects. 1 1 1 62 0 16.2 23.7 MIT 2 months ago
View on GitHub
phpstan/phpstan-phpunit 0.85 PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. 546 550 58 6M 34 44.3 79.3 MIT 4 weeks ago
View on GitHub
contributte/phpstan 0.85 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
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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle