ctf0/route-map

list all app routes

Fund package maintenance!
ctf0

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:Blade

v1.1.6 2020-12-01 16:01 UTC

This package is auto-updated.

Last update: 2024-10-30 01:48:20 UTC


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

    '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

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