2020-11-18 10:23:51 +01:00
|
|
|
#!/usr/bin/env php
|
|
|
|
|
<?php
|
|
|
|
|
|
2026-04-24 16:53:58 +02:00
|
|
|
use Illuminate\Foundation\Application;
|
|
|
|
|
use Symfony\Component\Console\Input\ArgvInput;
|
2020-11-18 10:23:51 +01:00
|
|
|
|
2026-04-24 16:53:58 +02:00
|
|
|
define('LARAVEL_START', microtime(true));
|
2020-11-18 10:23:51 +01:00
|
|
|
|
2026-04-24 16:53:58 +02:00
|
|
|
// Register the Composer autoloader...
|
2020-11-18 10:23:51 +01:00
|
|
|
require __DIR__.'/vendor/autoload.php';
|
|
|
|
|
|
2026-04-24 16:53:58 +02:00
|
|
|
// Bootstrap Laravel and handle the command...
|
|
|
|
|
/** @var Application $app */
|
2020-11-18 10:23:51 +01:00
|
|
|
$app = require_once __DIR__.'/bootstrap/app.php';
|
|
|
|
|
|
2026-04-24 16:53:58 +02:00
|
|
|
$status = $app->handleCommand(new ArgvInput);
|
2020-11-18 10:23:51 +01:00
|
|
|
|
|
|
|
|
exit($status);
|