diff --git a/phpstreamserver/symfony/0.9/bin/phpss b/phpstreamserver/symfony/0.9/bin/phpss new file mode 100755 index 00000000..483320bb --- /dev/null +++ b/phpstreamserver/symfony/0.9/bin/phpss @@ -0,0 +1,11 @@ +#!/usr/bin/env php +addWorker(new SymfonyHttpServerWorker( + listen: '0.0.0.0:8080', + reloadStrategies: [ + new ExceptionReloadStrategy(), + ], + )); +}; diff --git a/phpstreamserver/symfony/0.9/manifest.json b/phpstreamserver/symfony/0.9/manifest.json new file mode 100644 index 00000000..a8ed11d5 --- /dev/null +++ b/phpstreamserver/symfony/0.9/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "PHPStreamServer\\Symfony\\PHPStreamServerBundle": ["all"] + }, + "copy-from-recipe": { + "bin/": "%BIN_DIR%/", + "config/": "%CONFIG_DIR%/" + } +} diff --git a/phpstreamserver/symfony/0.9/post-install.txt b/phpstreamserver/symfony/0.9/post-install.txt new file mode 100644 index 00000000..168461c8 --- /dev/null +++ b/phpstreamserver/symfony/0.9/post-install.txt @@ -0,0 +1,16 @@ + * 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/