umii/umii-autodoc 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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)

  1. Place this package folder into your Laravel project's packages/umii/umii-autodoc directory or require via composer.
  2. Add "Umii\\AutoDoc\\UmiiAutoDocServiceProvider" to config/app.php providers (if not using package discovery).
  3. Run:
    php artisan vendor:publish --provider="Umii\AutoDoc\UmiiAutoDocServiceProvider" --tag=config
    php artisan autodoc:generate
    
  4. Output will be generated in docs/index.html (and docs/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\Browsershot exists.

Author

Umii — umii020@hotmail.com University: SZABIST Islamabad BSCS

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Roff

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-11