Credit to : http://rajendra-kc.com.np/blogs/Gossip/using-apigen-with-laravel-5/7
Download and Install APIGen in Your Linux by the following command
Make it executable
Move it to /usr/local so that it can be used gloablly
Now supply the following commands, If you installed correctly, it will show you version number
Now to make laravel api code documentation hit he code below. It will genertae HTML files in the specified folder
Another example
Download and Install APIGen in Your Linux by the following command
wget http://apigen.org/apigen.phar
Make it executable
chmod +x apigen.phar
Move it to /usr/local so that it can be used gloablly
mv apigen.phar /usr/local/bin/apigen
Now supply the following commands, If you installed correctly, it will show you version number
apigen --version
Now to make laravel api code documentation hit he code below. It will genertae HTML files in the specified folder
apigen generate -s ./app --exclude=*/Commands/*,*/Console/*,*/Events/*,*/Handlers/*,*/Exceptions/*,*/Providers/*,*/Services/* -d public/api --no-source-code
Another example
apigen generate -s ./app/Http -d public/api --no-source-code --title "ewCMS Enterprise Documentation"