4 define('LARAVEL_START', microtime(true));
7 |--------------------------------------------------------------------------
9 |--------------------------------------------------------------------------
11 | We need to get things going before we start up the app.
12 | The init file loads everything in, in the correct order.
16 require __DIR__.'/bootstrap/init.php';
18 $app = require_once __DIR__.'/bootstrap/app.php';
21 |--------------------------------------------------------------------------
22 | Run The Artisan Application
23 |--------------------------------------------------------------------------
25 | When we run the console application, the current CLI command will be
26 | executed in this console and the response sent back to a terminal
27 | or another output device for the developers. Here goes nothing!
31 $kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
33 $status = $kernel->handle(
34 $input = new Symfony\Component\Console\Input\ArgvInput,
35 new Symfony\Component\Console\Output\ConsoleOutput
39 |--------------------------------------------------------------------------
40 | Shutdown The Application
41 |--------------------------------------------------------------------------
43 | Once Artisan has finished running, we will fire off the shutdown events
44 | so that any final work may be done by the application before we shut
45 | down the process. This is the last thing to happen to the request.
49 $kernel->terminate($input, $status);