# laravel-routes-html

> Export Laravel Routes to HTML page

Latest version **1.0.1** (published 2021-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install laravel-routes-html
pnpm add laravel-routes-html
yarn add laravel-routes-html
bun add laravel-routes-html
```

Provides the command `laravel-routes-html`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-08-25 |
| First published | 2021-08-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 11 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | MaDnh |
| Maintainers | madnh |

## Links

- npm: https://www.npmjs.com/package/laravel-routes-html
- npm.io page: https://npm.io/package/laravel-routes-html

## Dependencies (3)

- [cac](https://npm.io/package/cac.md) ^6.7.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [nunjucks](https://npm.io/package/nunjucks.md) ^3.2.3

## Recent versions

- 1.0.1 (latest) — 2021-08-25

## README

# 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:

```shell
php artisan route:list --json > routes.json
```

### 2 - Process routes

At this code, run:

```shell
laravel-routes-html routes.json
```

---
_Source: https://npm.io/package/laravel-routes-html · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
