Download the PHP package s-patompong/laravel-routes-html without Composer
On this page you can find all versions of the php package s-patompong/laravel-routes-html. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download s-patompong/laravel-routes-html
More information about s-patompong/laravel-routes-html
Files in s-patompong/laravel-routes-html
Package laravel-routes-html
Short Description View your Laravel routes on the browser.
License MIT
Homepage https://github.com/s-patompong/laravel-routes-html
Informations about the package laravel-routes-html
View your Laravel routes on the browser 🏖
This package adds a route to your Laravel application. Once you've installed this package, enter /route-list
path in the browser to see your route list.
https://user-images.githubusercontent.com/3887531/144168468-b5774116-6068-4eed-b57a-8c572554de8e.mov
Features
- See all routes in your Laravel application in a nicely formatted table with responsive layout.
- Sort routes by domain, method, uri, name, action, and middleware.
- Quickly filter to see only the routes that you want. 🎉
- Click on the GET|HEAD route to open it on a new tab. You need to specify the parameters if the route requires them. 😎
Installation
You can install the package via composer:
You can publish the config file with:
Optionally, you can publish the views using
This is the contents of the published config file:
Usage
Open your Laravel application on the browser and go to /route-list
URL (or the URL that you put inside the routes-html.uri
).
Route Middlewares
To add middlewares to the request pipeline before it hits the /route-list
route.
Add the middleware classname to the middlewares
key in the config file like so:
This will make sure that only the authenticated user can access the /route-list
route.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Patompong Savaengsuk
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-routes-html with dependencies
spatie/laravel-package-tools Version ^1.9.2
illuminate/contracts Version ^8.37