From f7344b325ac9294a2234cb9a610c2058f36f451c Mon Sep 17 00:00:00 2001 From: Jacques de Lamballerie Date: Thu, 23 Apr 2020 15:03:40 +0200 Subject: [PATCH] JacquesndlMailerBundle: add recipe --- .../1.0/config/packages/jacquesndl_mailer.yaml | 4 ++++ jacquesndl/mailer-bundle/1.0/manifest.json | 12 ++++++++++++ jacquesndl/mailer-bundle/1.0/post-install.txt | 6 ++++++ 3 files changed, 22 insertions(+) create mode 100755 jacquesndl/mailer-bundle/1.0/config/packages/jacquesndl_mailer.yaml create mode 100755 jacquesndl/mailer-bundle/1.0/manifest.json create mode 100644 jacquesndl/mailer-bundle/1.0/post-install.txt diff --git a/jacquesndl/mailer-bundle/1.0/config/packages/jacquesndl_mailer.yaml b/jacquesndl/mailer-bundle/1.0/config/packages/jacquesndl_mailer.yaml new file mode 100755 index 00000000..61c8b5aa --- /dev/null +++ b/jacquesndl/mailer-bundle/1.0/config/packages/jacquesndl_mailer.yaml @@ -0,0 +1,4 @@ +jacquesndl_mailer: + sender: + name: '%env(JACQUESNDL_MAILER_SENDER_NAME)%' + address: '%env(JACQUESNDL_MAILER_SENDER_ADDRESS)%' diff --git a/jacquesndl/mailer-bundle/1.0/manifest.json b/jacquesndl/mailer-bundle/1.0/manifest.json new file mode 100755 index 00000000..1ae1c4f1 --- /dev/null +++ b/jacquesndl/mailer-bundle/1.0/manifest.json @@ -0,0 +1,12 @@ +{ + "bundles": { + "Jacquesndl\\MailerBundle\\JacquesndlMailerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "JACQUESNDL_MAILER_SENDER_NAME": "Example", + "JACQUESNDL_MAILER_SENDER_ADDRESS": "example@domain.tld" + } +} diff --git a/jacquesndl/mailer-bundle/1.0/post-install.txt b/jacquesndl/mailer-bundle/1.0/post-install.txt new file mode 100644 index 00000000..2e137be1 --- /dev/null +++ b/jacquesndl/mailer-bundle/1.0/post-install.txt @@ -0,0 +1,6 @@ + + Jacquesndl/MailerBundle, What's next? + + + * The Jacquesndl/MailerBundle needs your default sender configuration. + Modify your JACQUESNDL_MAILER_SENDER_NAME and JACQUESNDL_MAILER_SENDER_ADDRESS config in .env