antonio-sugamele / plugin-routes
Libreria per Laravel per la lettura e visualizzazione semplificata delle rotte.
Package info
github.com/AntsugDev/plugin-routes
Language:Blade
pkg:composer/antonio-sugamele/plugin-routes
Requires
- php: ^8.2
- illuminate/routing: >=8.0
- illuminate/support: >=8.0
README
Laravel Routes Viewer provides a clean, web-based dashboard to inspect all registered routes in your Laravel application—eliminating the need to repeatedly run php artisan route:list in your terminal.
Features
- 🔍 Visual Route Inspection: View all your application routes in a user-friendly table.
- đź“‹ Key Route Information:
- URI (Route path)
- HTTP Method (
GET,POST,PUT,DELETE, etc.) - Controller class
- Action / Function handling the request
Requirements & Compatibility
- PHP:
>=8.2 - Laravel Framework:
>=8.0(usingilluminate/support&illuminate/routing)
Installation
Install the package via Composer:
composer require antonio-sugamele/plugin-routes --dev
Post-Installation
Publish vendor:
php artisan vendor:publish --tag=plugin-routes-assets --force
Clear your route cache to ensure the new endpoint is properly registered:
php artisan route:clear
How to Access the Page
Once installed, open your browser and navigate to the dedicated route viewer page:
👉 http://your-app-domain/routes-viewer
(For local development with php artisan serve, go to: http://127.0.0.1:8000/routes-viewer)
Installation Verification
To check if the package was installed correctly, run the following CLI command:
php artisan route:list
Verification step: Look through the output list and verify that the /routes-viewer route is present. If it appears in the list, the installation was successful!
License
This package is open-sourced software licensed under the MIT license.