74 Laravel packages tagged “static analysis”
Most downloaded: larastan/larastan, with 88,817,496 downloads and 6,549 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.
larastan/larastan
Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel
6,549
88,817,496
shipmonk/dead-code-detector
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.
537
7,519,526
staabm/phpstan-psr3
23
1,751,969
igor-php/igor-php
The faithful assistant for your FrankenPHP Workers: finds the state that leaks between requests in Symfony and Laravel Octane apps, from the CLI, PhpStorm, Claude Code or any MCP client.
132
287,621
worksome/phpstan-request-factories
A PHPStan rule for enforcing that every request has a corresponding factory.
1
279,168
laraveldaily/filacheck
Static analysis for Filament projects - detect deprecated patterns and code issues
128
261,491
ivqonsanada/enlightn
Fork of Enlightn - Your performance & security consultant, an artisan command away.
1
94,771
heyosseus/sloppy
Static analysis for the debt AI coding agents leave behind, on any PHP project: 34 rules, architecture policies and module boundaries you describe, git-diff review, coverage-aware reading order, PHPStan baseline-growth detection, a Rector and Pint fix pass, Pest expectations, CI annotations, agent rulesets, Claude Code hooks and an MCP server. Runs inside PHPStan through the separate heyosseus/phpstan-sloppy extension. Deterministic, local, no LLM.
231
93,039
guanguans/monorepo-builder-worker
A set of additional release workers for symplify/monorepo-builder.
1
38,863
script-development/phpstan-warroom-rules
Canonical PHPStan rules enforcing war-room doctrine across script-development Laravel territories.
36,258
shieldci/laravel
Automated code analysis for Laravel applications with 73 open-source analyzers covering security, performance, reliability, code quality, and best practices. ShieldCI Pro adds 82 more (155 total).
4
38,596
calebdw/phpstan-laravel
A PHPStan extension for analysis of Laravel applications and packages.
37
25,298
imsuperlative/larastan-filament-macro
PHPStan extension for Filament's Macroable trait — runtime macro method resolution via Larastan.
5
23,789
pekral/phpcs-rules
Custom ruleset for PHP_CodeSniffer (PHPCS) with additional rules and configuration, based on Slevomat Coding Standard. Helps to enforce consistent code style and best practices in PHP projects.
18,980
kafkiansky/better-laravel
A set of rules for the Psalm static analysis tool that help to detect popular issues when working with the Laravel framework.
1
14,837
guanguans/php-cs-fixer-custom-fixers
Use php-cs-fixer to format bats,blade.php,Dockerfile,env,json,md,mdx,sh,sql,tex,text,toml,txt,xml,yaml...files. - 使用 php-cs-fixer 去格式化 bats、blade.php、Dockerfile、env、json、md、mdx、sh、sql、tex、text、toml、txt、xml、yaml...文件。
4
12,676
guanguans/rector-rules
A set of additional rules for rector/rector. - 一套针对 `rector/rector` 的附加规则。
1
11,994
guanguans/phpstan-rules
A set of additional rules for phpstan/phpstan. - 一套针对 `phpstan/phpstan` 的附加规则。
1
10,185
pushery/sqlens-for-laravel
SQLens — database safety toolkit for Laravel. It lints pending migrations for lock and downtime risk and audits the live schema, on PostgreSQL and MySQL.
11
8,844
mfn/phpstan-lost-in-translation
Helps find missing translation strings in Laravel applications
1
8,401
alies-dev/psalm-plugin-pest
Psalm plugin for Pest: types $this in test closures as the configured TestCase (with its traits and beforeEach() properties), resolves expectation and higher-order test chains, narrows types after expect() and accepts Pest's public API.
2
7,799
laramint/laravel-security-scanner
Laravel-aware security rules for php-security-scanner. Detects Laravel SQL injection (DB::raw, whereRaw), mass assignment, debug/dd leaks, unsafe validators, CSRF bypass, insecure cookies, env exposure, Blade raw echo, open redirect, Http SSRF, Storage/File path traversal, file-upload validation gaps, Auth/Crypt/Artisan/Process/Config injection, view-name injection, session fixation, and Mail header injection.
3
5,033
jaydeep/laravel-guarddog
Laravel GuardDog — Scan your Laravel project for common security vulnerabilities and generate beautiful HTML reports.
7
4,815
jaydeep/laravel-preflight
Artisan command that scans your Laravel codebase for breaking changes and compatibility issues before you upgrade to Laravel 9, 10, 11, 12, or 13.
6
4,763
happenv-com/laravel-true-modular-phpstan
PHPStan extensions for laravel-true-modular: dynamic Eloquent relation resolution and module boundary enforcement.
4,123
odinns/phpstan-pest-this
PHPStan extensions to infer Pest closure $this type from test file mappings.
1
4,006
sajjadhossainshohag/laravel-artican
Code Health Checker for Laravel — catch broken routes, missing views, schema mismatches, and runtime errors before deployment.
16
2,354
squeak/rat
squeak/rat — squeak-rat: Laravel Application Security & Behavior Analyzer. Terminal forensic tool for Laravel. 🐀 RAT follows the trail.
17
1,223
hosmelq/php-coding-standard
Opinionated ECS, Rector, and PHPStan presets for PHP and Laravel packages and applications.
1
1,223
baer-software/larabeacon
Production readiness, performance, security, and reliability checks for Laravel applications.
3
1,119
heyosseus/difflock
Diff, analyze and protect your Laravel database schema. Schema diffing, migration risk linting, and a migration guard that blocks destructive changes before they run.
18
1,058
artflow-studio/laravel-security
Laravel package that scans applications (including Livewire) for security vulnerabilities, reports issues with severity levels, and provides remediation guidance and optional automated fixes.
1,046
chr15k/laravel-schema-audit
Performs static analysis of your Laravel migrations to detect schema inconsistencies before they ship.
8
1,013
arafa/laravel-deadcode-detector
Detect and report dead / unused code in Laravel applications.
3
1,013
ianrodrigues/pest-plugin-code-quality
Method-level and class-level maintainability limits (complexity, body lines, parameters, methods, properties, inheritance depth) as Pest architecture expectations, with baselines for gradual adoption.
4
332
amarucci/phpstan-laravel-deadcode
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.
332
mohamed-ashraf-elsaed/claude-kit
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
263
prettyyellowdog/lumenstan
Lumenstan - Discover bugs in your code without running it. A phpstan/phpstan wrapper for Lumen based on Larastan
184
seizonio/laravel-php-code-analysis-hook
A GIT pre-commit hook for running php code sniffer, php mess detector and phpunit before a commit can be accepted.
2
74
octane-doctor/octane-doctor
Octane readiness scanner for Laravel: detect long-lived worker risks, explain each finding, and gate CI on new ones.
1
42