From 8f1a770898391dda0c27e7d6713274524fca32db Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Mon, 18 Aug 2025 06:05:51 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 2 +- ...46b724b8df97501a970a2ad470cbbf8338dbc.json | 25 ++++--- index.json | 2 +- phpstreamserver.symfony.0.7.json | 70 +++++++++++++++++++ 4 files changed, 87 insertions(+), 12 deletions(-) rename phpstreamserver.symfony.0.4.json => archived/phpstreamserver.symfony/99f46b724b8df97501a970a2ad470cbbf8338dbc.json (61%) create mode 100644 phpstreamserver.symfony.0.7.json diff --git a/RECIPES.md b/RECIPES.md index c54a865c..246e83bd 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -475,7 +475,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [phpfastcache/phpfastcache-bundle](https://packagist.org/packages/phpfastcache/phpfastcache-bundle) | [3.0](phpfastcache/phpfastcache-bundle/3.0) | | [phpfastcgi/fastcgi-daemon](https://packagist.org/packages/phpfastcgi/fastcgi-daemon) | [0.11](phpfastcgi/fastcgi-daemon/0.11) | | [phpstan/phpstan](https://packagist.org/packages/phpstan/phpstan) | [1.0](phpstan/phpstan/1.0) | -| [phpstreamserver/symfony](https://packagist.org/packages/phpstreamserver/symfony) | [0.4](phpstreamserver/symfony/0.4) | +| [phpstreamserver/symfony](https://packagist.org/packages/phpstreamserver/symfony) | [0.7](phpstreamserver/symfony/0.7) | | [phpsword/sword-bundle](https://packagist.org/packages/phpsword/sword-bundle) | [1.0](phpsword/sword-bundle/1.0) | | [phpzlc/admin](https://packagist.org/packages/phpzlc/admin) | [1.0](phpzlc/admin/1.0) | | [phpzlc/admin-business](https://packagist.org/packages/phpzlc/admin-business) | [1.0](phpzlc/admin-business/1.0) | diff --git a/phpstreamserver.symfony.0.4.json b/archived/phpstreamserver.symfony/99f46b724b8df97501a970a2ad470cbbf8338dbc.json similarity index 61% rename from phpstreamserver.symfony.0.4.json rename to archived/phpstreamserver.symfony/99f46b724b8df97501a970a2ad470cbbf8338dbc.json index 5976e255..82775189 100644 --- a/phpstreamserver.symfony.0.4.json +++ b/archived/phpstreamserver.symfony/99f46b724b8df97501a970a2ad470cbbf8338dbc.json @@ -12,10 +12,17 @@ "config/": "%CONFIG_DIR%/" }, "post-install-output": [ - "* You're ready to run your Symfony application with PHPStreamServer!", - " Run bin/phpss start command to get started", + "* One more step to complete setup:", + " Set PHPStreamServerRuntime as the Application Runtime by either:", + " * setting env APP_RUNTIME=\"PHPStreamServer\\Symfony\\PHPStreamServerRuntime\"", + " * adding extra.runtime.class to composer.json", + " Read more: https://phpstreamserver.dev/docs/integrations/symfony#runtime-configuration", + " If you edited composer.json, run composer dump-autoload to apply.", "", - "* Read the documentation at https://phpstreamserver.dev/docs/general/" + "* Your Symfony application is ready to run with PHPStreamServer.", + " Start the server with: bin/phpss start", + "", + "* Read the documentation at: https://phpstreamserver.dev/docs/general/" ] }, "files": { @@ -25,15 +32,13 @@ "APP_RUNTIME=\"PHPStreamServer\\Symfony\\PHPStreamServerRuntime\"", + " * adding extra.runtime.class to composer.json", + " Read more: https://phpstreamserver.dev/docs/integrations/symfony#runtime-configuration", + " If you edited composer.json, run composer dump-autoload to apply.", + "", + "* Your Symfony application is ready to run with PHPStreamServer.", + " Start the server with: bin/phpss start", + "", + "* Read the documentation at: https://phpstreamserver.dev/docs/general/" + ] + }, + "files": { + "bin/phpss": { + "contents": [ + "#!/usr/bin/env php", + "addWorker(new SymfonyHttpServerProcess(", + " listen: '0.0.0.0:8080',", + " reloadStrategies: [", + " new ExceptionReloadStrategy(),", + " ],", + " ));", + "};", + "" + ], + "executable": false + } + }, + "ref": "99f46b724b8df97501a970a2ad470cbbf8338dbc" + } + } +}