Creating Console Applications with Laravel Console Commands based on Symfony Console Commands.
DON'T FORGET TO RENAME bin/app TO YOUR APP COMMAND AND CHANGE IT composer.json:
{
"bin": [
"bin/app"
]
}For not global usage move the bin/app file to the root directory and adjust the file.