Home >Backend Development >PHP Tutorial >ApiGen installation, apigen_PHP tutorial

ApiGen installation, apigen_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:08:211015browse

ApiGen installation, apigen

# 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

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

Now you can use the concise apigen instead of 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, verify whether the installation is successful:

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/952019.htmlTechArticleApiGen installation, apigen # First, download ApiGen (http://apigen.org/apigen.phar) # * After the nix system downloads the phar file, move it to the PATH directory to ensure that the global authority has permission to call $mv apig...
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