coolify/artisan

19 lines
425 B
Text
Raw Normal View History

2023-03-17 14:33:48 +00:00
#!/usr/bin/env php
<?php
2025-11-30 15:50:04 +00:00
use Illuminate\Foundation\Application;
use Symfony\Component\Console\Input\ArgvInput;
2023-03-17 14:33:48 +00:00
2025-11-30 15:50:04 +00:00
define('LARAVEL_START', microtime(true));
2023-03-17 14:33:48 +00:00
2025-11-30 15:50:04 +00:00
// Register the Composer autoloader...
2023-03-17 14:33:48 +00:00
require __DIR__.'/vendor/autoload.php';
2025-11-30 15:50:04 +00:00
// Bootstrap Laravel and handle the command...
/** @var Application $app */
2023-03-17 14:33:48 +00:00
$app = require_once __DIR__.'/bootstrap/app.php';
2025-11-30 15:50:04 +00:00
$status = $app->handleCommand(new ArgvInput);
2023-03-17 14:33:48 +00:00
exit($status);