PHPackages                             theihasan/laravel-inspector - 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. [Framework](/categories/framework)
4. /
5. theihasan/laravel-inspector

ActiveProject[Framework](/categories/framework)

theihasan/laravel-inspector
===========================

The Laravel Zero Framework.

v0.0.2(4mo ago)00MITPHPPHP ^8.2

Since Jan 5Pushed 4mo agoCompare

[ Source](https://github.com/theihasan/inspector)[ Packagist](https://packagist.org/packages/theihasan/laravel-inspector)[ Docs](https://laravel-zero.com)[ RSS](/packages/theihasan-laravel-inspector/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Laravel Inspector
=================

[](#laravel-inspector)

Laravel Inspector is a Laravel Zero CLI for static inspection of Laravel projects. It scans a target directory without booting the app and surfaces routes, controllers, models, migrations, env keys, and common app folders in a terminal UI.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Composer

Install
-------

[](#install)

```
composer install
```

Global install
--------------

[](#global-install)

Once published to Packagist:

```
composer global require figlab/laravel-inspector
```

Make sure your Composer global bin directory is on PATH:

```
export PATH="$HOME/.composer/vendor/bin:$HOME/.config/composer/vendor/bin:$PATH"
```

Run:

```
inspect /path/to/laravel-app
```

Usage
-----

[](#usage)

```
php application inspect /path/to/laravel-app
```

Options:

- `--filter=STRING` Filter routes by URI or name
- `--controller=STRING` Filter controller map by controller class

What it inspects
----------------

[](#what-it-inspects)

- Project summary and Laravel version (best effort)
- Routes and static route parsing
- Route to controller map with file previews
- Models, migrations, services, and actions with file previews
- Env key usage from config and .env comparison (values are never shown)

Controls
--------

[](#controls)

- `Left/Right` or `h/l`: focus nav vs content
- `Up/Down` or `j/k`: navigate sections or select rows
- `PgUp/PgDn`: page scroll
- `p`: preview mode
- `t`: table mode
- `q/Esc/Ctrl+C`: quit

Notes
-----

[](#notes)

- The target project is never modified.
- If a section folder does not exist, it will not appear in the UI.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance77

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

127d ago

### Community

Maintainers

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

---

Top Contributors

[![theihasan](https://avatars.githubusercontent.com/u/142471724?v=4)](https://github.com/theihasan "theihasan (57 commits)")

---

Tags

clilaravellaravel-zerophptuicliconsoleframeworklaravellaravel-zero

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/theihasan-laravel-inspector/health.svg)

```
[![Health](https://phpackages.com/badges/theihasan-laravel-inspector/health.svg)](https://phpackages.com/packages/theihasan-laravel-inspector)
```

###  Alternatives

[laravel-zero/laravel-zero

The Laravel Zero Framework.

3.9k43.3k3](/packages/laravel-zero-laravel-zero)

PHPackages © 2026

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