UniSharp / doc-us by storyn26383

A MySQL Schema Documantation Generator for Laravel
14,125
38
14
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-12-14 15:10:53
Package Statistics
Total Downloads: 14,125
Monthly Downloads: 208
Daily Downloads: 8
Total Stars: 38
Total Watchers: 14
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.