https://github.com/pgyf/php-apidoc
php接口文档项目
https://github.com/pgyf/php-apidoc
api api-doc apidoc doc
Last synced: about 1 year ago
JSON representation
php接口文档项目
- Host: GitHub
- URL: https://github.com/pgyf/php-apidoc
- Owner: pgyf
- License: mit
- Created: 2020-09-22T08:32:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-24T08:06:30.000Z (about 5 years ago)
- Last Synced: 2025-01-23T06:45:11.771Z (about 1 year ago)
- Topics: api, api-doc, apidoc, doc
- Language: CSS
- Homepage:
- Size: 2.23 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-apidoc
php接口文档项目(基于phalapi修改)
实现功能:支持只提供接口文档不提供接口
[demo](http://demo.phalapi.net/docs.php)
# 环境支持
php版本 >= 5.3.3
安装
------------
```
composer create-project phpyii/php-apidoc:dev-master
```
配置
------------
1、访问路径配置到public下
2、config/app.php中可以配置项目名、访问密码等
3、src/app下为接口项目
生成离线文档
------------
php ./public/index.php
脚本执行完毕!离线文档保存路径为:/path/to/apidoc/public/docs
效果图
------------

感谢
------------
感谢开源项目[phalapi](https://github.com/phalapi/phalapi)