<?php12/**3* Laravel - A PHP Framework For Web Artisans.4*5* @author Taylor Otwell <[email protected]>6*/7define('LARAVEL_START', microtime(true));89/*10|--------------------------------------------------------------------------11| Check If Application Is Under Maintenance12|--------------------------------------------------------------------------13|14| If the application is maintenance / demo mode via the "down" command we15| will require this file so that any pre-rendered template can be shown16| instead of starting the framework, which could cause an exception.17|18*/1920if (file_exists(__DIR__ . '/../storage/framework/maintenance.php')) {21require __DIR__ . '/../storage/framework/maintenance.php';22}2324/*25|--------------------------------------------------------------------------26| Register The Auto Loader27|--------------------------------------------------------------------------28|29| Composer provides a convenient, automatically generated class loader for30| our application. We just need to utilize it! We'll simply require it31| into the script here so that we don't have to worry about manual32| loading any of our classes later on. It feels great to relax.33|34*/3536require __DIR__ . '/../vendor/autoload.php';3738/*39|--------------------------------------------------------------------------40| Turn On The Lights41|--------------------------------------------------------------------------42|43| We need to illuminate PHP development, so let us turn on the lights.44| This bootstraps the framework and gets it ready for use, then it45| will load up this application so that we can run it and send46| the responses back to the browser and delight our users.47|48*/4950$app = require_once __DIR__ . '/../bootstrap/app.php';5152/*53|--------------------------------------------------------------------------54| Run The Application55|--------------------------------------------------------------------------56|57| Once we have the application, we can handle the incoming request58| through the kernel, and send the associated response back to59| the client's browser allowing them to enjoy the creative60| and wonderful application we have prepared for them.61|62*/6364$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);6566$response = $kernel->handle(67$request = Illuminate\Http\Request::capture()68);6970$response->send();7172$kernel->terminate($request, $response);737475