PHPackages                             leffacarlos/view-routes - 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. leffacarlos/view-routes

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

leffacarlos/view-routes
=======================

This package allows you to view Laravel routes on a web page.

0.0.1(1y ago)041MITPHP

Since Jan 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/CarlosLeffa/view-routes)[ Packagist](https://packagist.org/packages/leffacarlos/view-routes)[ RSS](/packages/leffacarlos-view-routes/feed)WikiDiscussions main Synced 1w ago

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

Laravel Routes WEB view
=======================

[](#laravel-routes-web-view)

This package allows you to view Laravel routes on a web page. Allows a range of configurations such as path, name and access route middleware, display or not in production or debug environments, as well as the possibility of filters by route path and name.

[![view-routes](https://github.com/CarlosLeffa/view-routes/raw/main/images/web_page.png)](https://github.com/CarlosLeffa/view-routes/blob/main/images/web_page.png)

Installation
============

[](#installation)

```
composer require leffacarlos/view-routes
```

Configuration
=============

[](#configuration)

By default a route will be created for `/view-routes`. If you wish, you can publish the configuration file but all keys can be written to your .env file as explained below:

---

#### VIEW\_ROUTES\_HIDE\_IN\_PRODUCTION=`true`

[](#view_routes_hide_in_productiontrue)

Defines whether the route will be hidden in a production environment

---

#### VIEW\_ROUTES\_HIDE\_IN\_NON\_DEBUG=`true`

[](#view_routes_hide_in_non_debugtrue)

Defines whether the route will be hidden in a non-debug environment

---

#### VIEW\_ROUTES\_ROUTE=`view-routes`

[](#view_routes_routeview-routes)

Specifies the path of the route

---

#### VIEW\_ROUTES\_ROUTE\_NAME=`view.routes`

[](#view_routes_route_nameviewroutes)

Specifies the name of the route

---

#### VIEW\_ROUTES\_MIDDLEWARES=

[](#view_routes_middlewares)

Comma separated middlewares can be applied to protect the route Ex: `web,auth:api`

---

#### VIEW\_ROUTES\_HIDE\_METHODS=`HEAD,OPTIONS,TRACE`

[](#view_routes_hide_methodsheadoptionstrace)

Allows you to hide routes that have the following comma separated methods

---

#### VIEW\_ROUTES\_SHOW\_PREFIXES=

[](#view_routes_show_prefixes)

You can specify some initial paths to list the routes Ex: `api\,login`

---

#### VIEW\_ROUTES\_HIDE\_PREFIXES=`view-routes`

[](#view_routes_hide_prefixesview-routes)

Some initial prefixes can be defined to hide the routes. By the route path. Ex: `oauth,reset-password,view-routes`

---

#### VIEW\_ROUTES\_HIDE\_NAMES\_PREFIXES=`view.routes`

[](#view_routes_hide_names_prefixesviewroutes)

Some initial prefixes can be defined to hide the routes. By the route name. Ex: `passport.,view.routes`

---

License
-------

[](#license)

The VIEW-ROUTES is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

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

Unknown

Total

1

Last Release

592d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5287088?v=4)[Carlos Leffa](/maintainers/CarlosLeffa)[@CarlosLeffa](https://github.com/CarlosLeffa)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/leffacarlos-view-routes/health.svg)

```
[![Health](https://phpackages.com/badges/leffacarlos-view-routes/health.svg)](https://phpackages.com/packages/leffacarlos-view-routes)
```

###  Alternatives

[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

604.0k2](/packages/crumbls-layup)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3622.8k](/packages/duncanmcclean-statamic-cargo)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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