PHPackages                             jonasof/laravel-route-debugger - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. jonasof/laravel-route-debugger

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

jonasof/laravel-route-debugger
==============================

Get file and line of matched laravel route

2.0.1(4y ago)21.8kMITPHPPHP &gt;=7.0CI failing

Since Jun 23Pushed 4y ago2 watchersCompare

[ Source](https://github.com/jonasof/laravel-route-debugger)[ Packagist](https://packagist.org/packages/jonasof/laravel-route-debugger)[ RSS](/packages/jonasof-laravel-route-debugger/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (10)Used By (0)

Laravel route debugger
======================

[](#laravel-route-debugger)

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

[](#installation)

Install either globally:

`composer global require jonasof/laravel-route-debugger`

Or inside the laravel project:

`composer require --dev jonasof/laravel-route-debugger`

Usage
-----

[](#usage)

Execute in your laravel project root directory the command:

`laravel-route-debugger find GET /` for global installations `php artisan route-debugger:find GET /` for local installations

That will return:

```
File: /home/user/laravel-project/routes/web.php:16
Controller: App\Http\Controllers\HomeController@get
Controller File: /home/user/laravel-project/app/Http/Controllers/HomeControler.php:10

```

The script more complex routes like POST /user/123/comments since it uses the default laravel route parser.

You can also use `--json` flag to return the result as json in this format:

```
{
  "route": {
    "file": "\/home\/user\/laravel-project\/routes\/api.php",
    "line": 16
  },
  "controller": {
     "action": "App\\Http\\Controllers\\HomeController@get",
     "file": "\/home\/user\/laravel-project\/app\/Http\/Controllers\/HomeController.php",
     "line": 10
    }
  }+
}

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~270 days

Total

8

Last Release

1671d ago

Major Versions

0.0.1 → 1.0.02018-06-23

1.3.0 → 2.0.02021-02-12

### Community

Maintainers

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

---

Top Contributors

[![jonasof](https://avatars.githubusercontent.com/u/5995209?v=4)](https://github.com/jonasof "jonasof (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jonasof-laravel-route-debugger/health.svg)

```
[![Health](https://phpackages.com/badges/jonasof-laravel-route-debugger/health.svg)](https://phpackages.com/packages/jonasof-laravel-route-debugger)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M918](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k29](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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