PHPackages                             mrkindy/deadscanner - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. mrkindy/deadscanner

ActivePackage[CLI &amp; Console](/categories/cli)

mrkindy/deadscanner
===================

Laravel console command to list dead methods and classes from Laravel projects.

V1.0.1(2y ago)040LGPL-3.0-or-laterPHP

Since Apr 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/mrkindy/DeadScanner)[ Packagist](https://packagist.org/packages/mrkindy/deadscanner)[ Docs](https://mrkindy.com/)[ RSS](/packages/mrkindy-deadscanner/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

DeadScanner: Uncover Unused Controller in Your Laravel Projects
===============================================================

[](#deadscanner-uncover-unused-controller-in-your-laravel-projects)

**Efficiently identify and prune dead methods and Controllers to keep your codebase clean and maintainable.**

Features
--------

[](#features)

- **Pinpoints Unused Methods and Controllers:** Detects methods and Controllers that aren't actively utilized within your project.
- **Customizable Scanning:** Target specific paths for analysis and exclude namespaces as needed.
- **Flexible Output Formats:** View results concisely in text format or obtain a detailed dump for in-depth analysis.
- **Easy Integration:** Seamlessly integrates into your Laravel workflow with straightforward installation and usage.

Installation
------------

[](#installation)

Add DeadScanner to your project using Composer:

```
composer require mrkindy/deadscanner
```

Usage
-----

[](#usage)

Run the following commands to scan your project for dead code:

- **Find dead Controllers:**

    ```
    php artisan mrkindy:deadcontroller
    ```
- **Find dead methods:**

    ```
    php artisan mrkindy:deadmethods
    ```

**Arguments:**

- `paths`: Optional list of specific paths to scan.

**Options:**

- `--dump-output`: Outputs a detailed dump of dead code findings for comprehensive analysis.
- `--text-output`: Presents results in a concise text format for quick overview.

Contributing
------------

[](#contributing)

We appreciate contributions! Please refer to the `CONTRIBUTING.md` file for details on how to get involved.

Credits
-------

[](#credits)

- [Ibrahim Abotaleb](https://github.com/mrkindy)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

776d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5fd85e534ea2f57176af791158952e47f137990cf3a4d1c072a5feb7aa24dbc?d=identicon)[mrkindy](/maintainers/mrkindy)

---

Top Contributors

[![mrkindy](https://avatars.githubusercontent.com/u/744360?v=4)](https://github.com/mrkindy "mrkindy (5 commits)")

---

Tags

laravelpackageAuditanalysis toolartisan-commanddead methodsdead classes

### Embed Badge

![Health badge](/badges/mrkindy-deadscanner/health.svg)

```
[![Health](https://phpackages.com/badges/mrkindy-deadscanner/health.svg)](https://phpackages.com/packages/mrkindy-deadscanner)
```

###  Alternatives

[jeroen-g/laravel-packager

A cli tool for creating Laravel packages.

1.4k707.3k18](/packages/jeroen-g-laravel-packager)[sheaf/cli

A CLI tool for Sheaf UI

269.3k1](/packages/sheaf-cli)[gmsantos/inspiring

Alternative inspiring quotes for Laravel

188.5k](/packages/gmsantos-inspiring)[a-bashtannik/fasti

Laravel task scheduler with calendar-based management.

133.6k](/packages/a-bashtannik-fasti)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
