rajudev/laravel-doc-generator
最新稳定版本:v2.0.0
Composer 安装命令:
composer require rajudev/laravel-doc-generator
包简介
A Laravel package for generating documentation from controller comments.
README 文档
README
This package generates documentation for Laravel controllers based on specially formatted comments.
Installation
composer require raju/laravel-doc-generator
Usage
Run the following Artisan command to generate documentation:
php artisan doc:generate
The generated documentation will be saved as storage/docs.json.
Markup Format
Add comments like this in your controllers:
/* raju Description: Fetches user data by ID. Where Used: User profile API. */ public function getUserData($id) { // Your logic here }
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-20