PHPackages                             air-petr/laravel-find-route-handler - 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. air-petr/laravel-find-route-handler

ActiveLibrary

air-petr/laravel-find-route-handler
===================================

An Artisan command to find the handler behind any route in your Laravel application.

v1.0.1(1y ago)03MITPHPPHP ^7.3|^8.0

Since Apr 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Air-Petr/laravel-find-route-handler)[ Packagist](https://packagist.org/packages/air-petr/laravel-find-route-handler)[ Docs](https://github.com/air-petr/laravel-find-route-handler)[ RSS](/packages/air-petr-laravel-find-route-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

🔍 Laravel Find Route Handler
============================

[](#-laravel-find-route-handler)

An Artisan command to find the handler (controller or closure) behind any route in your Laravel application.

📦 Installation
--------------

[](#-installation)

```
composer require air-petr/laravel-find-route-handler --dev
```

If you're not using Laravel Package Auto-Discovery, you may need to manually register the service provider:

```
// config/app.php
'providers' => [
    // ...
    AirPetr\LaravelFindRouteHandler\RouteFindHandlerServiceProvider::class,
],
```

🚀 Usage
-------

[](#-usage)

Use the `route:find-handler` command to locate the code behind a specific route.

```
php artisan route:find-handler GET /hello
```

### Output example:

[](#output-example)

```
[✔] Handler found: App\Http\Controllers\HelloController@index

```

Or, for a route with a closure:

```
[✔] Handler found in routes/web.php on line 42

```

🛠 Supported Features
--------------------

[](#-supported-features)

- ✅ Supports `GET`, `POST`, `PUT`, `DELETE`, and other HTTP methods
- ✅ Works with route closures and controller actions
- ✅ Supports route groups and middleware

🥪 Testing
---------

[](#-testing)

```
vendor/bin/phpunit
```

🙌 Contributing
--------------

[](#-contributing)

Contributions are welcome! Feel free to submit issues or pull requests.

📄 License
---------

[](#-license)

MIT

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance47

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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 ~4 days

Total

2

Last Release

390d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc29160cfd4432204e4df0fbab4bfcc6e7b1ba471255e64146b93a604c7c8e72?d=identicon)[air-petr](/maintainers/air-petr)

---

Top Contributors

[![Air-Petr](https://avatars.githubusercontent.com/u/15061863?v=4)](https://github.com/Air-Petr "Air-Petr (8 commits)")

---

Tags

laravelartisanhandlerclosurecontrollerroute

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/air-petr-laravel-find-route-handler/health.svg)

```
[![Health](https://phpackages.com/badges/air-petr-laravel-find-route-handler/health.svg)](https://phpackages.com/packages/air-petr-laravel-find-route-handler)
```

###  Alternatives

[kitloong/laravel-migrations-generator

Generates Laravel Migrations from an existing database

2.9k7.4M24](/packages/kitloong-laravel-migrations-generator)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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