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)025MITPHP

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 1mo 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

22

—

LowBetter than 22% of packages

Maintenance41

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity28

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

493d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3478f4acdb01c51b1923b393c2797828927505454ff1ea5d74a15a77044a6aa7?d=identicon)[CarlosLeffa](/maintainers/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

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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