npm.io
1.0.1 • Published 5 years agoCLI

laravel-routes-html

Licence
MIT
Version
1.0.1
Deps
3
Size
11 kB
Vulns
0
Weekly
0

Laravel Routes to HTML

Convert Laravel exported routes to HTML page

laravel-routes-html/1.0.0

Usage:
  $ laravel-routes-html <routes>

Commands:
  <routes>  Routes file (JSON)

For more info, run any command with the `--help` flag:
  $ laravel-routes-html --help

Options:
  -O, --output <output>  Output file (default: routes.html)
  --title <title>        Title (default: Routes)
  -h, --help             Display this message 
  -v, --version          Display version number 

Usage:

1 - Export current routes

At Laravel code, run:

php artisan route:list --json > routes.json
2 - Process routes

At this code, run:

laravel-routes-html routes.json