diff --git a/recipes/symfony/framework-bundle/.env.dist b/recipes/symfony/framework-bundle/.env.dist new file mode 100644 index 00000000..50edef13 --- /dev/null +++ b/recipes/symfony/framework-bundle/.env.dist @@ -0,0 +1,3 @@ +# This file is a "template" of which env vars needs to be defined in your configuration or in an .env file +# Set variables here that may be different on each deployment target of the app, e.g. development, staging, production. +# http://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration diff --git a/recipes/symfony/framework-bundle/etc/container.yaml b/recipes/symfony/framework-bundle/etc/container.yaml new file mode 100644 index 00000000..f58e92bc --- /dev/null +++ b/recipes/symfony/framework-bundle/etc/container.yaml @@ -0,0 +1,5 @@ +# Put parameters here that don't need to change on each machine where the app is deployed +# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration +parameters: + +services: diff --git a/recipes/symfony/framework-bundle/etc/routing.yaml b/recipes/symfony/framework-bundle/etc/routing.yaml new file mode 100644 index 00000000..8cd6906c --- /dev/null +++ b/recipes/symfony/framework-bundle/etc/routing.yaml @@ -0,0 +1,8 @@ +#index: +# path: / +# defaults: { _controller: "App\\Controller\\SomeController::index" } + +# if annotations are enabled +#controllers: +# resource: src/Controller/ +# type: annotation diff --git a/recipes/symfony/framework-bundle/manifest.json b/recipes/symfony/framework-bundle/manifest.json index 1219e1ce..60c661bd 100644 --- a/recipes/symfony/framework-bundle/manifest.json +++ b/recipes/symfony/framework-bundle/manifest.json @@ -5,7 +5,8 @@ "copy-from-recipe": { "etc/": "%ETC_DIR%/", "src/": "%SRC_DIR%/", - "web/": "%WEB_DIR%/" + "web/": "%WEB_DIR%/", + ".env.dist": ".env.dist" }, "composer-scripts": { "cache:clear --no-warmup": "symfony-cmd",