首先你需要下载go-pear.phar 地址:http://pear.php.net/go-pear.phar。
执行命令 php go-pear.phar 安装。
执行pear,输出:

安装成功。
现在安装PHPDoc,执行 pear install phpDocumentor 。
输出:

安装成功。
如何使用?
phpdoc -h 查看选项
phpdoc -d 要生成文章的php文件目录
-t 文档存储的目标路径
首先你需要下载go-pear.phar 地址:http://pear.php.net/go-pear.phar。
执行命令 php go-pear.phar 安装。
执行pear,输出:
安装成功。
现在安装PHPDoc,执行 pear install phpDocumentor 。
输出:
安装成功。
如何使用?
phpdoc -h 查看选项
phpdoc -d 要生成文章的php文件目录
-t 文档存储的目标路径
本文标题:Pear安装和PHPDOC使用
本文链接:https://www.haomeiwen.com/subject/ngrgnxtx.html
网友评论