commit 1963c2dfccee01e562c83922338f856414272823 Author: github-action[bot] <> Date: Sat Aug 29 11:10:05 2026 +0000 Create Flex endpoint diff --git a/index.json b/index.json new file mode 100644 index 00000000..b1f1442e --- /dev/null +++ b/index.json @@ -0,0 +1,21 @@ +{ + "aliases": [], + "recipes": { + "phpstreamserver/symfony": [ + "0.7", + "0.9" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_links": { + "repository": "github.com/symfony/recipes-contrib", + "origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main", + "recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2037/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2037/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +} diff --git a/phpstreamserver.symfony.0.7.json b/phpstreamserver.symfony.0.7.json new file mode 100644 index 00000000..82775189 --- /dev/null +++ b/phpstreamserver.symfony.0.7.json @@ -0,0 +1,70 @@ +{ + "manifests": { + "phpstreamserver/symfony": { + "manifest": { + "bundles": { + "PHPStreamServer\\Symfony\\PHPStreamServerBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "bin/": "%BIN_DIR%/", + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + "* 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.", + "", + "* 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" + } + } +} diff --git a/phpstreamserver.symfony.0.9.json b/phpstreamserver.symfony.0.9.json new file mode 100644 index 00000000..50971b9a --- /dev/null +++ b/phpstreamserver.symfony.0.9.json @@ -0,0 +1,75 @@ +{ + "manifests": { + "phpstreamserver/symfony": { + "manifest": { + "bundles": { + "PHPStreamServer\\Symfony\\PHPStreamServerBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "bin/": "%BIN_DIR%/", + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + " * One more step to complete setup:", + " Set PHPStreamServer as the application runtime using one of these options:", + "", + " 1. Set the environment variable:", + " APP_RUNTIME=\"PHPStreamServer\\Symfony\\PHPStreamServerRuntime\"", + "", + " 2. Set extra.runtime.class in composer.json to:", + " PHPStreamServer\\Symfony\\PHPStreamServerRuntime", + " Then run:", + " composer dump-autoload", + "", + " See https://phpstreamserver.dev/docs/integrations/symfony#runtime-configuration", + "", + " * Run your application with bin/phpss start", + "", + " * Read the documentation at https://phpstreamserver.dev/docs/general/" + ] + }, + "files": { + "bin/phpss": { + "contents": [ + "#!/usr/bin/env php", + "addWorker(new SymfonyHttpServerWorker(", + " listen: '0.0.0.0:8080',", + " reloadStrategies: [", + " new ExceptionReloadStrategy(),", + " ],", + " ));", + "};", + "" + ], + "executable": false + } + }, + "ref": "2890c6e4b00ef832dc6621718b6973618d741b27" + } + } +}