ApiGen装配

WBOY
Release: 2016-06-13 12:14:43
Original
800 people have browsed it

ApiGen安装

# 首先,下载ApiGen(http://apigen.org/apigen.phar)

# *nix系统

下载phar文件后, 移动到PATH目录中,以保证全局有权限调用

$ <span style="color: #0000ff;">mv</span> apigen.phar /usr/local/bin/apigen
Copy after login

现在你可以使用简洁的 apigen 替代 php apigen.phar 


# Windows系统

移动phar文件到环境变量PATH任一目录中

打开CMD,切换到phar文件所在目录,通过 apigen.phar 生成 apigen.bat 

C:\bin><span style="color: #0000ff;">echo</span> @php <span style="color: #800000;">"</span><span style="color: #800000;">%~dp0apigen.phar</span><span style="color: #800000;">"</span> %*>apigen.bat
Copy after login

在命令行中,检验是否安装成功:

C:\Users\username><span style="color: #000000;">apigenApiGen version v4.</span><span style="color: #800080;">0.0</span>
Copy after login

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!