New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

41 Laravel packages tagged “phpstan”

Most downloaded: larastan/larastan, with 100,439,351 downloads and 6,560 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.

larastan/larastan

Recommended
Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel
6,560 100,439,351

nunomaduro/larastan

Replacement recommended Trusted maintainer
Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel
6,560 48,814,540

laravel/pao

Official Laravel package Recommended
Agent-optimized output for PHP testing tools
736 36,386,213

shipmonk/dead-code-detector

Recommended
Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.
539 8,468,318

pestphp/pest-plugin-phpstan

Recommended Trusted maintainer
PHPStan plugin for Pest
13 1,976,666

staabm/phpstan-psr3

Use with care
23 1,868,391

calebdw/larastan-livewire

Recommended
A Larastan / PHPStan extension for Livewire.
66 1,275,457

mrpunyapal/peststan

Not advised
PHPStan extension for Pest PHP testing framework
51 271,017

script-development/phpstan-warroom-rules

Solid choice
Canonical PHPStan rules enforcing war-room doctrine across script-development Laravel territories.
38,881

calebdw/phpstan-laravel

Solid choice
A PHPStan extension for analysis of Laravel applications and packages.
38 38,319

pollora/harness

Use with care
Quality, testing, security and performance harness shared by every Pollora repository
1 36,199

imsuperlative/larastan-filament-macro

Promising
PHPStan extension for Filament's Macroable trait — runtime macro method resolution via Larastan.
5 24,269

soyhuce/phpstan-extension

Use with care
Extra rules for phpstan analysis
1 24,040

pekral/ai-olympus

Use with care
AI Olympus — a Composer plugin for PHP and Laravel projects that installs Claude Code and Codex rules, agent skills, and custom agents
2 13,363

guanguans/phpstan-rules

Solid choice
A set of additional rules for phpstan/phpstan. - 一套针对 `phpstan/phpstan` 的附加规则。
1 11,323

jbboehr/phpstan-laravel-validation

Promising
Laravel Validation extension for PHPStan
9 10,054

mfn/phpstan-lost-in-translation

Solid choice
Helps find missing translation strings in Laravel applications
1 9,642

adrum/inertia-phpstan

Use with care
PHPStan extension to validate Inertia.js page existence on disk
8 7,570

sikessem/devtools

Promising
🧪 Tools needed for PHP and Laravel project development and automation.
1 6,033

happenv-com/laravel-true-modular-phpstan

Solid choice
PHPStan extensions for laravel-true-modular: dynamic Eloquent relation resolution and module boundary enforcement.
4,858

sorge-it/phpunit-pest-html-assertions

Use with care
HTML assertions for PHPUnit and Pest: check rendered HTML with CSS selectors, never as a string. With PHPStan rules, a Rector rule and a skill for AI coding agents.
5,374

odinns/phpstan-pest-this

Solid choice
PHPStan extensions to infer Pest closure $this type from test file mappings.
1 4,658

nth-root/phpstan-security

Use with care
A PHPStan extension that checks your code for security vulnerabilities
5 2,790

hosmelq/php-coding-standard

Use with care
Opinionated ECS, Rector, and PHPStan presets for PHP and Laravel packages and applications.
1 2,785

edalzell/dead-code-detector-laravel

Use with care
PHPStan extensions teaching shipmonk/dead-code-detector about Eloquent trait hooks and #[Scope] attributes
2,313

laramago/laramago

Promising
Laravel compatibility preset and runner for Mago static analysis.
19 2,268

zairakai/laravel-dev-tools

Promising
The unified and centralized development toolkit for Laravel projects - Pint, PHPStan, Rector, PHP Insights, git hooks, and GitLab CI pipeline templates
1,006

amarucci/phpstan-laravel-deadcode

Promising
Teaches PHPStan's dead code detector to read the wiring Laravel calls and PHP cannot see: Livewire components and their Blade templates, Eloquent enum casts, gate abilities, and package contracts.
931

ugarit/pao

Use with care
Agent-optimized output for PHP testing tools
622

astro2006/laravel-audit

Use with care
AI-assisted audits for Laravel apps: a deterministic preflight (tests, browser tests, PHPStan, Composer) feeds Claude Code agents that review tests, frontend, backend and dependencies.
464

mohamed-ashraf-elsaed/claude-kit

Promising
One command sets up Claude Code (and any AI coding agent) on a Laravel project: engineering rules, a quality gate (PHPStan, Pint, Pest), skills, git hooks, and stack-aware frontend tooling.
2 264

mltstephane/laravel-quality

Use with care
Shared static analysis and architecture rules for Laravel projects: Larastan base config, Pest arch preset and a quality:install command.
235

masgeek/composer-scripts

Promising
Reusable Composer script callbacks for PHP projects — testing, linting, IDE helpers, and dev server. Framework-agnostic.
251

prettyyellowdog/lumenstan

Use with care
Lumenstan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Lumen based on Larastan
184

themattosdev/leakless-dev

Promising
Developer tooling, PHPStan AST rules, and Pest assertions for Leakless
113

semitexa/laravel-ai-verify

Use with care
Stop AI coding agents from faking "done" in Laravel. ai:verify runs only the tests, Larastan, code style (Pint, PHP-CS-Fixer, PHPCS, ECS) and Laravel checks a diff needs, fails on deleted or skipped tests, and stamps verified commits for CI. ai:graph gives agents a code graph of routes, controllers, models, views and tests, with impact analysis.
5 37

svnjn/php-standards

Use with care
Shared strict coding standards, static analysis rules and tooling for svnjn PHP packages.
1 27

miguelex/php-template

Promising
PHP 8.2–8.5 MVC template with PHPStan, Rector, Pest, Gulp/Vite and AI agent support
2 7

jakehenshall/pest-plugin-wordpress

Promising
The most comprehensive WordPress testing framework built on Pest PHP v4. Includes PHPStan v2.1 for static analysis, SQLite for fast testing, and 150+ helper functions. Test WordPress plugins and themes with Laravel-style syntax. Browser testing, HTTP testing, email mocking, AJAX testing, REST API helpers, test sharding, time travel, and more. Zero configuration required.
2 6

hirasso/phpstan-illuminate-collections

Use with care
PHPStan narrowing for filter()/reject()/where() on illuminate/collections, without Larastan
1 5

sohel1999/laravel-scafolld

Not advised
Laravel Quick scaffold modern single app.
1 4