Useful tool apidoc. Setup:
apt update apt nodejs apt install nodejs-legacy apt install npm npm install apidoc -g
Now check with command apidoc -h.
apidoc -h
If everything is alright:
apidoc -i app/Http/Controllers/ -o ~/Projects/theproject-docs