toby/artisan
Krzysztof Rewak 794e8df3ea
#5 - update codestyle to 1.x (#101)
* #5 - update codestyle to 1.x

* #5 - update codestyle to 1.x
2022-03-31 14:16:14 +02:00

24 lines
532 B
PHP
Executable File

#!/usr/bin/env php
<?php
declare(strict_types=1);
use Illuminate\Contracts\Console\Kernel;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Output\ConsoleOutput;
define("LARAVEL_START", microtime(true));
require __DIR__ . "/vendor/autoload.php";
$app = require_once __DIR__ . "/bootstrap/app.php";
/** @var Kernel $kernel */
$kernel = $app->make(Kernel::class);
$input = new ArgvInput();
$status = $kernel->handle($input, new ConsoleOutput());
$kernel->terminate($input, $status);
exit($status);