Files

19 lines
425 B
PHP
Raw Permalink Normal View History

2015-12-06 13:58:49 -05:00
#!/usr/bin/env php
<?php
2026-10-05 18:10:18 -04:00
use Illuminate\Foundation\Application;
use Symfony\Component\Console\Input\ArgvInput;
2015-12-06 13:58:49 -05:00
2026-10-05 18:10:18 -04:00
define('LARAVEL_START', microtime(true));
2015-12-06 13:58:49 -05:00
2026-10-05 18:10:18 -04:00
// Register the Composer autoloader...
require __DIR__.'/vendor/autoload.php';
2015-12-06 13:58:49 -05:00
2026-10-05 18:10:18 -04:00
// Bootstrap Laravel and handle the command...
/** @var Application $app */
$app = require_once __DIR__.'/bootstrap/app.php';
2015-12-06 13:58:49 -05:00
2026-10-05 18:10:18 -04:00
$status = $app->handleCommand(new ArgvInput);
2015-12-06 13:58:49 -05:00
exit($status);