laravel app console commands code example Example: laravel app running in console app()->runningInConsole()