An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


RouteMap


Latest Stable Version Total Downloads


main

- 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).