From aa45cb4cc8584ef52d2b3b82c03364739720a520 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 24 Oct 2019 13:32:11 +0200 Subject: [PATCH] Add a recipe for Notifier --- .../notifier/5.0/config/packages/notifier.yaml | 16 ++++++++++++++++ symfony/notifier/5.0/manifest.json | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 symfony/notifier/5.0/config/packages/notifier.yaml create mode 100644 symfony/notifier/5.0/manifest.json diff --git a/symfony/notifier/5.0/config/packages/notifier.yaml b/symfony/notifier/5.0/config/packages/notifier.yaml new file mode 100644 index 00000000..3984a48d --- /dev/null +++ b/symfony/notifier/5.0/config/packages/notifier.yaml @@ -0,0 +1,16 @@ +framework: + notifier: + #chatter_transports: + # slack: '%env(SLACK_DSN)%' + # telegram: '%env(TELEGRAM_DSN)%' + #texter_transports: + # twilio: '%env(TWILIO_DSN)%' + # nexmo: '%env(NEXMO_DSN)%' + channel_policy: + # use chat/slack, chat/telegram, sms/twilio or sms/nexmo + urgent: ['email'] + high: ['email'] + medium: ['email'] + low: ['email'] + admin_recipients: + - { email: admin@example.com } diff --git a/symfony/notifier/5.0/manifest.json b/symfony/notifier/5.0/manifest.json new file mode 100644 index 00000000..e164c6e6 --- /dev/null +++ b/symfony/notifier/5.0/manifest.json @@ -0,0 +1,5 @@ +{ + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}