diff --git a/RECIPES.md b/RECIPES.md index b05e83df..18f858b4 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -36,7 +36,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [aziz403/ux-datatable](https://packagist.org/packages/aziz403/ux-datatable) | [1.0](aziz403/ux-datatable/1.0) | | [aziz403/ux-zoom](https://packagist.org/packages/aziz403/ux-zoom) | [1.0](aziz403/ux-zoom/1.0) | | [backup-manager/symfony](https://packagist.org/packages/backup-manager/symfony) | [2.1](backup-manager/symfony/2.1) | -| [baldinof/roadrunner-bundle](https://packagist.org/packages/baldinof/roadrunner-bundle) | [2.0](baldinof/roadrunner-bundle/2.0) | +| [baldinof/roadrunner-bundle](https://packagist.org/packages/baldinof/roadrunner-bundle) | [3.0](baldinof/roadrunner-bundle/3.0) | | [basster/lazy-response-bundle](https://packagist.org/packages/basster/lazy-response-bundle) | [1.0](basster/lazy-response-bundle/1.0) | | [basster/twig-base64-extension](https://packagist.org/packages/basster/twig-base64-extension) | [1.0](basster/twig-base64-extension/1.0) | | [bcc/cron-manager-bundle](https://packagist.org/packages/bcc/cron-manager-bundle) | [3.1](bcc/cron-manager-bundle/3.1) | diff --git a/archived/baldinof.roadrunner-bundle/0da69c96650460102ed0a2a0004e5b347f7220c9.json b/archived/baldinof.roadrunner-bundle/0da69c96650460102ed0a2a0004e5b347f7220c9.json new file mode 100644 index 00000000..02d3bc99 --- /dev/null +++ b/archived/baldinof.roadrunner-bundle/0da69c96650460102ed0a2a0004e5b347f7220c9.json @@ -0,0 +1,69 @@ +{ + "manifests": { + "baldinof/roadrunner-bundle": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "copy-from-package": { + ".rr.yaml": ".rr.yaml", + ".rr.dev.yaml": ".rr.dev.yaml" + }, + "bundles": { + "Baldinof\\RoadRunnerBundle\\BaldinofRoadRunnerBundle": [ + "all" + ] + }, + "gitignore": [ + "/bin/rr" + ], + "post-install-output": [ + " // Note: Installing the spiral/roadrunner-cli package is not mandatory", + " // There is alternatives to install the RoadRunner binary:", + " // See https://roadrunner.dev/docs/intro-install/2023.x", + " ", + " * Download RoadRunner locally: composer require spiral/roadrunner-cli && vendor/bin/rr get --location bin/", + " * Run your application: bin/rr serve -c .rr.dev.yaml --debug", + " * For production, use: bin/rr serve", + " * Visit http://localhost:8080" + ] + }, + "files": { + "config/packages/baldinof_road_runner.yaml": { + "contents": [ + "baldinof_road_runner:", + " # When the kernel should be rebooted.", + " # See https://github.com/baldinof/roadrunner-bundle#kernel-reboots", + " kernel_reboot:", + " # if you want to use a fresh container on each request, use the `always` strategy", + " strategy: on_exception", + " # Exceptions you KNOW that do not put your app in an unrecoverable state", + " allowed_exceptions:", + " - Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface", + " - Symfony\\Component\\Serializer\\Exception\\ExceptionInterface", + " - Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface", + "", + " # Allow to send prometheus metrics to the main RoadRunner process,", + " # via a `Spiral\\RoadRunner\\MetricsInterface` service.", + " # See https://github.com/baldinof/roadrunner-bundle#metrics", + " metrics:", + " enabled: false", + " # collect:", + " # my_counter:", + " # type: counter", + " # help: Some help", + "", + "", + " # You can use middlewares to manipulate Symfony requests & responses.", + " # See https://github.com/baldinof/roadrunner-bundle#middlewares", + " # middlewares:", + " # - App\\Middleware\\YourMiddleware", + "" + ], + "executable": false + } + }, + "ref": "0da69c96650460102ed0a2a0004e5b347f7220c9" + } + } +} diff --git a/baldinof.roadrunner-bundle.3.0.json b/baldinof.roadrunner-bundle.3.0.json new file mode 100644 index 00000000..02d3bc99 --- /dev/null +++ b/baldinof.roadrunner-bundle.3.0.json @@ -0,0 +1,69 @@ +{ + "manifests": { + "baldinof/roadrunner-bundle": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "copy-from-package": { + ".rr.yaml": ".rr.yaml", + ".rr.dev.yaml": ".rr.dev.yaml" + }, + "bundles": { + "Baldinof\\RoadRunnerBundle\\BaldinofRoadRunnerBundle": [ + "all" + ] + }, + "gitignore": [ + "/bin/rr" + ], + "post-install-output": [ + " // Note: Installing the spiral/roadrunner-cli package is not mandatory", + " // There is alternatives to install the RoadRunner binary:", + " // See https://roadrunner.dev/docs/intro-install/2023.x", + " ", + " * Download RoadRunner locally: composer require spiral/roadrunner-cli && vendor/bin/rr get --location bin/", + " * Run your application: bin/rr serve -c .rr.dev.yaml --debug", + " * For production, use: bin/rr serve", + " * Visit http://localhost:8080" + ] + }, + "files": { + "config/packages/baldinof_road_runner.yaml": { + "contents": [ + "baldinof_road_runner:", + " # When the kernel should be rebooted.", + " # See https://github.com/baldinof/roadrunner-bundle#kernel-reboots", + " kernel_reboot:", + " # if you want to use a fresh container on each request, use the `always` strategy", + " strategy: on_exception", + " # Exceptions you KNOW that do not put your app in an unrecoverable state", + " allowed_exceptions:", + " - Symfony\\Component\\HttpKernel\\Exception\\HttpExceptionInterface", + " - Symfony\\Component\\Serializer\\Exception\\ExceptionInterface", + " - Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface", + "", + " # Allow to send prometheus metrics to the main RoadRunner process,", + " # via a `Spiral\\RoadRunner\\MetricsInterface` service.", + " # See https://github.com/baldinof/roadrunner-bundle#metrics", + " metrics:", + " enabled: false", + " # collect:", + " # my_counter:", + " # type: counter", + " # help: Some help", + "", + "", + " # You can use middlewares to manipulate Symfony requests & responses.", + " # See https://github.com/baldinof/roadrunner-bundle#middlewares", + " # middlewares:", + " # - App\\Middleware\\YourMiddleware", + "" + ], + "executable": false + } + }, + "ref": "0da69c96650460102ed0a2a0004e5b347f7220c9" + } + } +} diff --git a/index.json b/index.json index 9ab12563..e323895c 100644 --- a/index.json +++ b/index.json @@ -102,7 +102,8 @@ "baldinof/roadrunner-bundle": [ "0.1", "1.2", - "2.0" + "2.0", + "3.0" ], "basster/lazy-response-bundle": [ "1.0"