Home  >  Article  >  Backend Development  >  ApiGen installation

ApiGen installation

WBOY
WBOYOriginal
2016-08-08 09:30:131034browse

# First, download ApiGen (http://apigen.org/apigen.phar)

# *nix system

After downloading the phar file, move it to the PATH directory to ensure global permission to call it

$ <span>mv</span> apigen.phar /usr/local/bin/apigen

Now you can use the concise apigen alternative to php apigen.phar


# Windows system

Move the phar file to any directory in the environment variable PATH

Open CMD, switch to the directory where the phar file is located, and generate apigen.bat through apigen.phar

C:\bin><span>echo</span> @php <span>"</span><span>%~dp0apigen.phar</span><span>"</span> %*>apigen.bat

In the command line, check whether the installation is successful:

C:\Users\username><span>apigen
ApiGen version v4.</span><span>0.0</span>

The above introduces the ApiGen installation, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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