#!/usr/bin/env php boot(); /* |-------------------------------------------------------------------------- | Load The Artisan Console Application |-------------------------------------------------------------------------- | | We'll need to run the script to load and return the Artisan console | application. We keep this in its own script so that we will load | the console application independent of running commands which | will allow us to fire commands from Routes when we want to. | */ $artisan = Illuminate\Console\Application::start($app); /* |-------------------------------------------------------------------------- | Run The Artisan Application |-------------------------------------------------------------------------- | | When we run the console application, the current CLI command will be | executed in this console and the response sent back to a terminal | or another output device for the developers. Here goes nothing! | */ $artisan->run(); /* |-------------------------------------------------------------------------- | Shutdown The Application |-------------------------------------------------------------------------- | | Once Artisan has finished running. We will fire off the shutdown events | so that any final work may be done by the application before we shut | down the process. This is the last thing to happen to the request. | */ $app->shutdown();