Update to Laravel 11

This commit is contained in:
2025-02-16 23:36:34 +11:00
parent 39a0195720
commit 2abe73a576
46 changed files with 3172 additions and 2454 deletions

34
artisan
View File

@@ -2,34 +2,14 @@
<?php
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Output\ConsoleOutput;
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| First we need to get an application instance. This creates an instance
| of the application / container and bootstraps the application so it
| is ready to receive HTTP / Console requests from the environment.
|
*/
define('LARAVEL_START', microtime(true));
$app = require __DIR__.'/bootstrap/app.php';
// Register the Composer autoloader...
require __DIR__.'/vendor/autoload.php';
/*
|--------------------------------------------------------------------------
| Run The Artisan Application
|--------------------------------------------------------------------------
|
| When we run the console application, the current CLI command will be
| executed in this console and the response sent back to a terminal
| or another output device for the developers. Here goes nothing!
|
*/
// Bootstrap Laravel and handle the command...
$status = (require_once __DIR__.'/bootstrap/app.php')
->handleCommand(new ArgvInput);
$kernel = $app->make(
'Illuminate\Contracts\Console\Kernel'
);
exit($kernel->handle(new ArgvInput, new ConsoleOutput));
exit($status);