PHPackages                             sbine/route-viewer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sbine/route-viewer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sbine/route-viewer
==================

A Laravel Nova tool to view your registered routes.

0.1.0(3mo ago)58249.9k↑1029.9%11[1 issues](https://github.com/sbine/nova-route-viewer/issues)MITVuePHP ^8.2CI failing

Since Aug 24Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/sbine/nova-route-viewer)[ Packagist](https://packagist.org/packages/sbine/route-viewer)[ Docs](https://github.com/sbine/nova-route-viewer)[ RSS](/packages/sbine-route-viewer/feed)WikiDiscussions main Synced yesterday

READMEChangelog (5)Dependencies (6)Versions (13)Used By (0)

Laravel Nova Route Viewer
=========================

[](#laravel-nova-route-viewer)

This [Nova](https://nova.laravel.com/) tool adds a route viewer section to the Nova sidebar.

It's like `php artisan route:list` for your browser. Supports sorting and filtering.

[![screenshot of Laravel Nova Route Viewer tool](https://camo.githubusercontent.com/bd3fad399245a287876dc66d4e33735ee4d010357d0e43ff4b49516aa8ffda48/68747470733a2f2f7361726162696e652e636f6d2f692f2f4c61726176656c2d4e6f76612d526f7574652d5669657765722d546f6f6c2e706e67)](https://camo.githubusercontent.com/bd3fad399245a287876dc66d4e33735ee4d010357d0e43ff4b49516aa8ffda48/68747470733a2f2f7361726162696e652e636f6d2f692f2f4c61726176656c2d4e6f76612d526f7574652d5669657765722d546f6f6c2e706e67)

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

[](#installation)

Install via [Composer](https://getcomposer.org/):

```
composer require sbine/route-viewer

```

Register the tool in `app/Providers/NovaServiceProvider`:

```
public function tools()
{
    return [
        new \Sbine\RouteViewer\RouteViewer,
    ];
}
```

You can customize the translations by publishing them to your local folder `resources/lang/vendor/route-viewer`:

```
php artisan vendor:publish --provider="Sbine\RouteViewer\ToolServiceProvider"

```

Custom Columns
--------------

[](#custom-columns)

You can add custom columns to the route viewer table. Register them in your `NovaServiceProvider` or `AppServiceProvider`:

```
use Sbine\RouteViewer\RouteViewer;
use Sbine\RouteViewer\Column;

// Simple per-route resolver
RouteViewer::addColumn(
    Column::make('Domain', 'domain')
        ->using(fn (\Illuminate\Routing\Route $route) => $route->getDomain() ?? '—')
);

// Batch resolver (efficient for DB lookups, avoids N+1)
RouteViewer::addColumn(
    Column::make('Hits', 'hits')
        ->usingBatch(function (array $routes): array {
            $hits = DB::table('route_hits')
                ->whereIn('uri', array_column($routes, 'uri'))
                ->groupBy('uri')
                ->pluck(DB::raw('count(*)'), 'uri');

            return array_map(fn ($r) => $hits[$r['uri']] ?? 0, $routes);
        })
);

// Non-sortable column
RouteViewer::addColumn(
    Column::make('Notes', 'notes')
        ->using(fn ($route) => config("route-notes.{$route->uri}", ''))
        ->sortable(false)
);
```

Custom columns are automatically searchable and sortable. Use `->sortable(false)` to opt out of sorting.

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

[](#contributing)

After updating frontend assets, rebuild for production:

```
npm install
npm run prod

```

> **Note:** This project uses Laravel Mix 6, which requires Node.js 20 LTS. It is not compatible with Node.js 25+.

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance80

Actively maintained with recent releases

Popularity48

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 52.7% 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 ~252 days

Recently: every ~82 days

Total

12

Last Release

100d ago

PHP version history (4 changes)0.0.1PHP &gt;=7.1.0

0.0.8PHP ^7.3 || ^8.0

0.0.9PHP ^8.0

0.1.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![sbine](https://avatars.githubusercontent.com/u/1902973?v=4)](https://github.com/sbine "sbine (39 commits)")[![alies-dev](https://avatars.githubusercontent.com/u/5278175?v=4)](https://github.com/alies-dev "alies-dev (25 commits)")[![anditsung](https://avatars.githubusercontent.com/u/1090413?v=4)](https://github.com/anditsung "anditsung (3 commits)")[![den1n](https://avatars.githubusercontent.com/u/25498109?v=4)](https://github.com/den1n "den1n (2 commits)")[![odilov-sh](https://avatars.githubusercontent.com/u/52707367?v=4)](https://github.com/odilov-sh "odilov-sh (1 commits)")[![stayallive](https://avatars.githubusercontent.com/u/1090754?v=4)](https://github.com/stayallive "stayallive (1 commits)")[![antonioribeiro](https://avatars.githubusercontent.com/u/3182864?v=4)](https://github.com/antonioribeiro "antonioribeiro (1 commits)")[![erikgaal](https://avatars.githubusercontent.com/u/1234268?v=4)](https://github.com/erikgaal "erikgaal (1 commits)")[![itinnovative](https://avatars.githubusercontent.com/u/6822319?v=4)](https://github.com/itinnovative "itinnovative (1 commits)")

---

Tags

hacktoberfestlaravellaravel-novanovarouteslaravelroutesnova

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/sbine-route-viewer/health.svg)

```
[![Health](https://phpackages.com/badges/sbine-route-viewer/health.svg)](https://phpackages.com/packages/sbine-route-viewer)
```

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k48.3M324](/packages/tightenco-ziggy)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

6163.5M22](/packages/ebess-advanced-nova-media-library)[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2852.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2862.1M9](/packages/outl1ne-nova-sortable)[novius/laravel-nova-order-nestedset-field

A Laravel Nova field that make your resources orderable

2393.1k2](/packages/novius-laravel-nova-order-nestedset-field)

PHPackages © 2026

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