Single 53MB binary embedding PHP 8.4 ZTS runtime, Laravel 12, Livewire 4, and Octane worker mode inside a Wails v3 native desktop window. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
453 B
PHP
21 lines
453 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
require __DIR__.'/vendor/autoload.php';
|
|
|
|
$app = require_once __DIR__.'/bootstrap/app.php';
|
|
|
|
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
|
|
|
$status = $kernel->handle(
|
|
$input = new Symfony\Component\Console\Input\ArgvInput,
|
|
new Symfony\Component\Console\Output\ConsoleOutput
|
|
);
|
|
|
|
$kernel->terminate($input, $status);
|
|
|
|
exit($status);
|