UniSharp / doc-us by storyn26383

A MySQL Schema Documantation Generator for Laravel
12,524
36
13
Package Data
Maintainer Username: storyn26383
Maintainer Contact: unisharp-service@unisharp.com (UniSharp Ltd.)
Package Create Date: 2017-01-25
Package Last Update: 2019-01-30
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-17 15:12:20
Package Statistics
Total Downloads: 12,524
Monthly Downloads: 258
Daily Downloads: 13
Total Stars: 36
Total Watchers: 13
Total Forks: 6
Total Open Issues: 3

Latest Stable Version Total Downloads License

Doc Us

A MySQL Schema Documentation Generator for Laravel.

Installation

  1. Require this package with composer:
composer require unisharp/doc-us
  1. Add ENABLE_DOC_US in .env (Default is disable)
ENABLE_DOC_US=true
  1. Add the ServiceProvider to the providers array in config/app.php:

If you are using Laravel 5.5 or newer, you don’t need to do this step.

'providers' => [
    /* ... */

    UniSharp\DocUs\DocUsServiceProvider::class,

    /* ... */
];

Usage

Output format

http://{host}/schema?format={supported-format}

Supported Formats

  • html
  • markdown
  • json

exclude special table

http://{host}/schema?exclude={special-table}

Using comma to separate multiple table.

like

http://{host}/schema?exclude={table1},{table2}

Demo

HTML

html

Markdown

markdown

Json

json

Test

vendor/bin/phpunit tests

License

The DocUs released under MIT license.