New

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

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.
931

Larablocks Analysis

amarucci/phpstan-laravel-deadcode works with Laravel 10 to 13 (latest release v0.3.0, Sep 2, 2026).

Promising: maintained and up to date, meets 2 of 3 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Sep 2, 2026)
  • 637 downloads a month (needs 10,000)

State

Actively maintained
  • Last stable release: Sep 2, 2026.
  • 4 releases in the last 12 months.
  • First released: Sep 2, 2026.
  • Monthly downloads: 637.

Data from Packagist, checked by Larablocks on Dec 2, 2026.

Install
composer require amarucci/phpstan-laravel-deadcode
Latest Version:v0.3.0
PHP:^8.4
Laravel:10 – 13
License:MIT
Last Updated:Sep 2, 2026
Links: GitLab  ·  Packagist
Maintainer: aMarucci

Alternatives to amarucci/phpstan-laravel-deadcode

script-development/phpstan-warroom-rules

Canonical PHPStan rules enforcing war-room doctrine across script-development La...

38,881 0
adrum/inertia-phpstan

PHPStan extension to validate Inertia.js page existence on disk

7,570 8
nth-root/phpstan-security

A PHPStan extension that checks your code for security vulnerabilities

2,790 5
happenv-com/laravel-true-modular-phpstan

PHPStan extensions for laravel-true-modular: dynamic Eloquent relation resolutio...

4,858 0
odinns/phpstan-pest-this

PHPStan extensions to infer Pest closure $this type from test file mappings.

4,658 1

Version History

Version Released PHP License
v0.3.0 ^8.4 MIT
v0.2.0 ^8.4 MIT
v0.1.1 ^8.4 MIT
v0.1.0 ^8.4 MIT