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 Extension Laravel Package

soyhuce/phpstan-extension

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
phpstan/phpstan-nette 0.89 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
nunomaduro/larastan 0.89 Larastan is a PHPStan extension for Laravel that adds static typing and catches bugs before you write tests. It understands Laravel's magic and boots your app container to resolve runtime types, supporting Laravel 9 through 11+. 6,547 6,561 529 454K 39 85.5 57.3 MIT 3 days ago
View on GitHub
etsglobal/php-static-analysis 0.89 A PHP static analysis package from ETS Global for inspecting PHP codebases and supporting code quality workflows. Integrates into Laravel/PHP projects to help surface potential issues, encourage cleaner code, and complement existing test and CI pipelines with additional static checks. 0 0 — 50 — 0.0 23.6 — —
View on GitHub
nunomaduro/laravel-code-analyse 0.88 Laravel Code Analyse brings static code analysis to your Laravel apps. Run the artisan command to scan your codebase against configurable checks, catch common issues early, and keep your code clean, consistent, and production-ready. 6,548 6,548 529 187 39 74.7 28.6 MIT 3 days ago
View on GitHub
slam/phpstan-extensions 0.88 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
mll-lab/laravel-utils 0.88 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 15.0 — MIT 3 months ago
View on GitHub
contributte/phpstan 0.88 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
rector/type-perfect 0.88 Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. 105 105 7 403K 0 10.5 43.6 MIT 3 months ago
View on GitHub
Context7
wyrihaximus/phpstan-rules-wrapper 0.88 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
canvural/phpstan-blade-rule 0.88 A PHPStan rule for Laravel Blade templates that brings static analysis to your views. Catch undefined variables, type mismatches, and other errors in .blade.php files before runtime by analyzing compiled templates with PHPStan. 56 56 4 142 3 1.5 8.2 MIT 4 years 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
jangregor/phpstan-prophecy 0.87 PHPStan extension for phpspec/prophecy that improves type inference in tests. It teaches PHPStan the real types returned from Prophecy workflows like prophesize(), willExtend(), and reveal(), so your revealed doubles are understood as the mocked class. 111 111 30 414K 3 18.6 53.5 MIT 8 months ago
View on GitHub
Context7
canvural/larastan-strict-rules 0.87 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
mrpunyapal/peststan 0.87 PHPStan extension for Pest PHP that adds type-safe expectations, proper $this binding in test closures, generic expect() inference, type-narrowing assertions, and accurate return types for all Pest functions. Requires PHP 8.2+, PHPStan 2, Pest 3-5. 51 53 5 47K 0 10.5 33.8 MIT 3 months ago
View on GitHub
Context7
soyhuce/laravel-somake 0.87 A small Laravel package from Soyhuce that adds handy Artisan make commands, streamlining code generation so you can scaffold classes and boilerplate quickly and keep new files consistent with your project's conventions. 2 2 0 232 2 1.2 28.0 MIT 1 year ago
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
soyhuce/dev-tools 0.87 Soyhuce Dev Tools bundles opinionated development tooling for Laravel and PHP projects, standardizing code quality, static analysis, formatting, and testing through shared configurations and sensible defaults. It simplifies maintaining a consistent developer workflow across apps and packages. 1 1 1 220 0 0.4 28.3 MIT 1 year ago
View on GitHub
korbeil/phpstan-generic-rules 0.87 PHPStan extension that enforces and improves the use of PHP generics. Adds custom rules to catch missing or incorrect template types, invalid generic usages, and helps keep docblocks and type hints consistent for safer, more accurate static analysis. 12 12 4 6K 2 3.9 36.6 — 1 year ago
View on GitHub
bnf/phpstan-psr-container 0.87 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
swissspidy/phpstan-no-private 0.87 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
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.
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
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle