Bash - Install APIGen and Auto Generate PHP Docs

#!/bin/bash # download and install globally wget chmod +x apigen.phar mv apigen.phar /usr/local/bin/apigen apigen --version # get help for generate command apigen generate --help # generate source for "src" dir, output to "api" dir apigen generate --source src --destination api # or with shorter option syntax apigen generate -s src -d api - Smart and Readable Documentation for your PHP project

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.