https://github.com/ctf0/route-map
"list,filter,navigate,open" your laravel app routes
https://github.com/ctf0/route-map
Last synced: 4 months ago
JSON representation
"list,filter,navigate,open" your laravel app routes
- Host: GitHub
- URL: https://github.com/ctf0/route-map
- Owner: ctf0
- License: mit
- Created: 2018-10-14T08:39:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:14:57.000Z (over 3 years ago)
- Last Synced: 2025-05-02T16:22:04.417Z (about 1 year ago)
- Language: Blade
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
RouteMap
- package requires Laravel v5.4+
## Installation
- `composer require ctf0/route-map`
- (Laravel < 5.5) add the service provider & facade
```php
'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`
- install dependencies
```bash
yarn add vue vue-awesome@v2
```
- add this one liner to your main js file and run `npm run watch` to compile your `js/css` files.
+ if you are having issues [Check](https://ctf0.wordpress.com/2017/09/12/laravel-mix-es6/).
```js
// app.js
window.Vue = require('vue')
require('../vendor/RouteMap/js/manager')
new Vue({
el: '#app'
})
```
## Features
- 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
## Usage
- visit `localhost:8000/route-map`
### Security
If you discover any security-related issues, please email [ctf0-dev@protonmail.com](mailto:ctf0-dev@protonmail.com).