Home > Backend Development > PHP Tutorial > ApiGen installation

ApiGen installation

WBOY
Release: 2016-08-08 09:30:13
Original
1095 people have browsed it

# 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
Copy after login

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
Copy after login

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

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

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

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