[phpstreamserver/symfony] New version (#1840)

This commit is contained in:
Anton Zenkov
2025-08-18 10:05:39 +04:00
committed by GitHub
parent 0045dcccb1
commit afcb2b9588
6 changed files with 22 additions and 17 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env php
<?php
use App\Kernel;
use PHPStreamServer\Symfony\ServerApplication;
require_once \dirname(__DIR__) . '/vendor/autoload_runtime.php';
return new ServerApplication(static function (array $context) {
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
});