安装phpDocument及使用

phpDocument官网:https://www.phpdoc.org/

提供了简便的安装方法:

 

 

安装很简单。对于中间可能出现的问题,进行QA

Q:phpDocument需要什么环境么?

A:需要php环境。

 

Q:配置php访问路径。

A:配置 phpdoc.bat 使其指向您所安装php的位置;

 

Q:

D:\php5>pear install phpdoc/phpDocumentor-alpha
No releases available for package "pear.phpdoc.org/phpDocumentor"
install failed
 
A:
登录http://pear.phpdoc.org/,查看可使用的phpDocumentor下载地址,再次运行
D:\php5>pear install http://pear.phpdoc.org/get/phpDocumentor-2.0.0b6.tgz
downloading phpDocumentor-2.0.0b6.tgz ...
Starting to download phpDocumentor-2.0.0b6.tgz (3,002,729 bytes)
.........................................................................
.........................................................................
.........................................................................
.........................................................................
.........................................................................
.............done: 3,002,729 bytes
install ok: channel://pear.phpdoc.org/phpDocumentor-2.0.0b6
 
Q:对于pear的安装
 
A:查看   安装pear及使用
 
Q:简单使用
 
A:

phpdoc -d "D:\phpStudy\WWW\app" -t "D:\phpStudy\WWW\doc"

-d表示要生成文档的应用,-t表示文档生成在哪个目录。

 

 

 

转载于:https://www.cnblogs.com/yangf2016/p/6141368.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值