umii/umii-autodoc
最新稳定版本:v1.1.8
Composer 安装命令:
composer require umii/umii-autodoc
包简介
Auto documentation generator for Laravel apps (routes, models, configs, ERD, PDF export).
README 文档
README
Auto documentation generator for Laravel applications.
Features:
- Routes table (methods, URIs, controllers)
- API examples (GET/POST simple samples)
- Model list with fillable & basic relationship detection
- Middleware & policies overview (best-effort)
- Config overview (cache, queue, mail)
- ERD DOT export (docs/erd.dot)
- Screenshots: optional stub (requires a headless browser tool; the package will detect availability)
Install (local development)
- Place this package folder into your Laravel project's
packages/umii/umii-autodocdirectory or require via composer. - Add
"Umii\\AutoDoc\\UmiiAutoDocServiceProvider"toconfig/app.phpproviders (if not using package discovery). - Run:
php artisan vendor:publish --provider="Umii\AutoDoc\UmiiAutoDocServiceProvider" --tag=config php artisan autodoc:generate - Output will be generated in
docs/index.html(anddocs/erd.dot).
Notes
- This is a starter implementation intended to be run inside a Laravel app. It uses Laravel's route and config systems.
- ERD generation produces a DOT file. Convert to SVG with Graphviz:
dot -Tsvg docs/erd.dot -o docs/erd.svg - Screenshots require an external tool (e.g., Browsershot / Puppeteer / Playwright). The package checks if
Spatie\Browsershot\Browsershotexists.
Author
Umii — umii020@hotmail.com University: SZABIST Islamabad BSCS
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-11