Home >Backend Development >PHP Tutorial >ApiGen installation, apigen_PHP tutorial
# 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>