Skip to content

Commit 5954f8f

Browse files
committed
[phpstreamserver/symfony] New version
1 parent 0045dcc commit 5954f8f

6 files changed

Lines changed: 22 additions & 17 deletions

File tree

phpstreamserver/symfony/0.4/bin/phpss

Lines changed: 0 additions & 13 deletions
This file was deleted.

phpstreamserver/symfony/0.4/post-install.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env php
2+
<?php
3+
4+
use App\Kernel;
5+
use PHPStreamServer\Symfony\ServerApplication;
6+
7+
require_once \dirname(__DIR__) . '/vendor/autoload_runtime.php';
8+
9+
return new ServerApplication(static function (array $context) {
10+
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
11+
});
File renamed without changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
* One more step to complete setup:
2+
Set PHPStreamServerRuntime as the Application Runtime by either:
3+
* setting env <comment>APP_RUNTIME="PHPStreamServer\Symfony\PHPStreamServerRuntime"</>
4+
* adding <comment>extra.runtime.class</> to <fg=green>composer.json</>
5+
Read more: <comment>https://phpstreamserver.dev/docs/integrations/symfony#runtime-configuration</>
6+
If you edited <fg=green>composer.json</>, run <comment>composer dump-autoload</> to apply.
7+
8+
* Your Symfony application is ready to run with PHPStreamServer.
9+
Start the server with: <comment>bin/phpss start</>
10+
11+
* Read the documentation at: <comment>https://phpstreamserver.dev/docs/general/</>

0 commit comments

Comments
 (0)