- package requires Laravel v5.4+
-
composer require ctf0/route-map
-
(Laravel < 5.5) add the service provider & facade
'providers' => [ ctf0\RouteMap\RouteMapServiceProvider::class, ];
-
publish the package assets with
php artisan vendor:publish --provider="ctf0\RouteMap\RouteMapServiceProvider"
-
after installation, run
php artisan rm:setup
to add- package routes to
routes/web.php
- package assets compiling to
webpack.mix.js
- package routes to
-
install dependencies
yarn add vue vue-awesome@v2
-
add this one liner to your main js file and run
npm run watch
to compile yourjs/css
files.- if you are having issues Check.
// app.js window.Vue = require('vue') require('../vendor/RouteMap/js/manager') new Vue({ el: '#app' })
- list all app routes.
- filter routes by
- Group
- Methods
- Domain
- Url
- Name
- Action
- Middleware
- collapse/expand all groups at once
- show/hide specific grouped routes
- quickly scroll to start/end of the routes list
- quickly open controller files in your favorite editor
- visit
localhost:8000/route-map
If you discover any security-related issues, please email ctf0-dev@protonmail.com.