abo/phpdoc
Composer 安装命令:
composer require abo/phpdoc
包简介
Comments automatically generate documents
README 文档
README
介绍 ( Introduction )
需有 @method 或 @url 才会产生文档,其他按 Idea 提示 填写注解即可
It takes @method or @url to be useful, Others follow the Idea prompts to fill in the notes.
According to the prompt of Idea, fill in the note, but you must have @method or @url to be useful
使用说明 ( Usage )
1.安装扩展 ( Installing the extension )
composer require abo/phpdoc
2.填写方法注解 ( Fill in method notes )
/**
* 列表
* @url /fasterapi/head_img
* @method HeadImgController::index
* @param string img_title 头图
* @param string img_src 路径
* @param string jump_url_intro 跳转介绍
* @param string jump_url 跳转路径
*
* @return \Illuminate\Http\JsonResponse Json json数组
* @throws ApiException Json 接口异常
* @throws \Abo\Generalutil\V1\Exceptions\PageException Html 页面异常
*/
3. 运行脚本 ( Run the script )
$Doc = new \Abo\Phpdoc\Doc( './app/Http/Controllers', './' );
return $Doc->make( true );
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-07-17