diff --git a/RECIPES.md b/RECIPES.md index 242dcfe9..94e482ea 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -53,7 +53,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [symfony/fake-chat-notifier](https://packagist.org/packages/symfony/fake-chat-notifier) | [5.3](symfony/fake-chat-notifier/5.3) | `fake-chat-notifier`, `fakechatnotifier` | | [symfony/fake-sms-notifier](https://packagist.org/packages/symfony/fake-sms-notifier) | [5.3](symfony/fake-sms-notifier/5.3) | `fake-sms-notifier`, `fakesmsnotifier` | | [symfony/firebase-notifier](https://packagist.org/packages/symfony/firebase-notifier) | [5.1](symfony/firebase-notifier/5.1) | `firebase-notifier`, `firebasenotifier` | -| [symfony/flex](https://packagist.org/packages/symfony/flex) | [1.0](symfony/flex/1.0) | `flex` | +| [symfony/flex](https://packagist.org/packages/symfony/flex) | [2.4](symfony/flex/2.4) | `flex` | | [symfony/form](https://packagist.org/packages/symfony/form) | [7.2](symfony/form/7.2) | `form` | | [symfony/forty-six-elks-notifier](https://packagist.org/packages/symfony/forty-six-elks-notifier) | [6.1](symfony/forty-six-elks-notifier/6.1) | `forty-six-elks-notifier`, `fortysixelksnotifier` | | [symfony/framework-bundle](https://packagist.org/packages/symfony/framework-bundle) | [7.2](symfony/framework-bundle/7.2) | `framework-bundle`, `frameworkbundle` | diff --git a/archived/symfony.flex/52e9754527a15e2b79d9a610f98185a1fe46622a.json b/archived/symfony.flex/52e9754527a15e2b79d9a610f98185a1fe46622a.json new file mode 100644 index 00000000..52be4464 --- /dev/null +++ b/archived/symfony.flex/52e9754527a15e2b79d9a610f98185a1fe46622a.json @@ -0,0 +1,42 @@ +{ + "manifests": { + "symfony/flex": { + "manifest": { + "copy-from-recipe": { + ".env": ".env", + ".env.dev": ".env.dev" + } + }, + "files": { + ".env": { + "contents": [ + "# In all environments, the following files are loaded if they exist,", + "# the latter taking precedence over the former:", + "#", + "# * .env contains default values for the environment variables needed by the app", + "# * .env.local uncommitted file with local overrides", + "# * .env.$APP_ENV committed environment-specific defaults", + "# * .env.$APP_ENV.local uncommitted environment-specific overrides", + "#", + "# Real environment variables win over .env files.", + "#", + "# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.", + "# https://symfony.com/doc/current/configuration/secrets.html", + "#", + "# Run \"composer dump-env prod\" to compile .env files for production use (requires symfony/flex >=1.2).", + "# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration", + "" + ], + "executable": false + }, + ".env.dev": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "52e9754527a15e2b79d9a610f98185a1fe46622a" + } + } +} diff --git a/index.json b/index.json index 4e170317..bfd92964 100644 --- a/index.json +++ b/index.json @@ -700,7 +700,8 @@ "5.1" ], "symfony/flex": [ - "1.0" + "1.0", + "2.4" ], "symfony/form": [ "7.2" diff --git a/symfony.flex.2.4.json b/symfony.flex.2.4.json new file mode 100644 index 00000000..52be4464 --- /dev/null +++ b/symfony.flex.2.4.json @@ -0,0 +1,42 @@ +{ + "manifests": { + "symfony/flex": { + "manifest": { + "copy-from-recipe": { + ".env": ".env", + ".env.dev": ".env.dev" + } + }, + "files": { + ".env": { + "contents": [ + "# In all environments, the following files are loaded if they exist,", + "# the latter taking precedence over the former:", + "#", + "# * .env contains default values for the environment variables needed by the app", + "# * .env.local uncommitted file with local overrides", + "# * .env.$APP_ENV committed environment-specific defaults", + "# * .env.$APP_ENV.local uncommitted environment-specific overrides", + "#", + "# Real environment variables win over .env files.", + "#", + "# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.", + "# https://symfony.com/doc/current/configuration/secrets.html", + "#", + "# Run \"composer dump-env prod\" to compile .env files for production use (requires symfony/flex >=1.2).", + "# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration", + "" + ], + "executable": false + }, + ".env.dev": { + "contents": [ + "" + ], + "executable": false + } + }, + "ref": "52e9754527a15e2b79d9a610f98185a1fe46622a" + } + } +}