unisharp/doc-us
最新稳定版本:v1.3.0
Composer 安装命令:
composer require unisharp/doc-us
包简介
A MySQL Schema Documantation Generator for Laravel
README 文档
README
Doc Us
A MySQL Schema Documentation Generator for Laravel.
Installation
- Require this package with composer:
composer require unisharp/doc-us
- Add
ENABLE_DOC_USin.env(Default is disable)
ENABLE_DOC_US=true
- 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
Markdown
Json
Test
vendor/bin/phpunit tests
License
The DocUs released under MIT license.
统计信息
- 总下载量: 21.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 38
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-02-03