
* #1 - project skeleton * #1 - composer fix * #1 - add app key to phpunit config * #1 - change default session driver * #1 - add EXTERNAL_WEBSERVER_PORT variable to .env.example
25 lines
537 B
PHP
25 lines
537 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Contracts\Http\Kernel;
|
|
use Illuminate\Http\Request;
|
|
|
|
define("LARAVEL_START", microtime(true));
|
|
|
|
if (file_exists(__DIR__ . "/../storage/framework/maintenance.php")) {
|
|
require __DIR__ . "/../storage/framework/maintenance.php";
|
|
}
|
|
|
|
require __DIR__ . "/../vendor/autoload.php";
|
|
|
|
$app = require_once __DIR__ . "/../bootstrap/app.php";
|
|
|
|
$kernel = $app->make(Kernel::class);
|
|
|
|
$response = $kernel->handle(
|
|
$request = Request::capture(),
|
|
)->send();
|
|
|
|
$kernel->terminate($request, $response);
|