From b5c9d8a32d26e5b8de4293cab5e6794115ccefe6 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 7 Apr 2021 09:22:49 +0200 Subject: [PATCH 1/2] Rework listing of Notifier brdiges --- notifier.rst | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/notifier.rst b/notifier.rst index 459f7d406b7..aea65829e3d 100644 --- a/notifier.rst +++ b/notifier.rst @@ -45,14 +45,41 @@ The notifier component supports the following channels: .. _notifier-sms-channel: .. _notifier-texter-dsn: -SMS Channel -~~~~~~~~~~~ +SMS Channel - NEW +~~~~~~~~~~~~~~~~~ The SMS channel uses :class:`Symfony\\Component\\Notifier\\Texter` classes to send SMS messages to mobile phones. This feature requires subscribing to a third-party service that sends SMS messages. Symfony provides integration with a couple popular SMS services: +AllMySms + ``symfony/allmysms-notifier`` + + .. code-block:: bash + + # .env + allmysms://LOGIN:APIKEY@default?from=FROM + + .. versionadded:: 5.3 + + The AllMySms integration was introduced in Symfony 5.3. + +Clickatell + ``symfony/clickatell-notifier`` + + .. code-block:: bash + + # .env + clickatell://ACCESS_TOKEN@default?from=FROM + + .. versionadded:: 5.3 + + The Clickatell integration was introduced in Symfony 5.3. + +SMS Channel OLD +~~~~~~~~~~~~~~~~ + ========== ================================ ==================================================== Service Package DSN ========== ================================ ==================================================== From b0dbeb4f2d94512b97f78998f7d65f7ace43e60d Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 7 Apr 2021 09:30:03 +0200 Subject: [PATCH 2/2] fix --- notifier.rst | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/notifier.rst b/notifier.rst index aea65829e3d..0df077f49ad 100644 --- a/notifier.rst +++ b/notifier.rst @@ -45,8 +45,8 @@ The notifier component supports the following channels: .. _notifier-sms-channel: .. _notifier-texter-dsn: -SMS Channel - NEW -~~~~~~~~~~~~~~~~~ +SMS Channel - NEW - Option 1 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The SMS channel uses :class:`Symfony\\Component\\Notifier\\Texter` classes to send SMS messages to mobile phones. This feature requires subscribing to @@ -77,6 +77,42 @@ Clickatell The Clickatell integration was introduced in Symfony 5.3. +SMS Channel - NEW - Option 2 +---------------------------- + +The SMS channel uses :class:`Symfony\\Component\\Notifier\\Texter` classes +to send SMS messages to mobile phones. This feature requires subscribing to +a third-party service that sends SMS messages. Symfony provides integration +with a couple popular SMS services: + +AllMySms +~~~~~~~~ + +``symfony/allmysms-notifier`` + +.. code-block:: bash + + # .env + allmysms://LOGIN:APIKEY@default?from=FROM + +.. versionadded:: 5.3 + + The AllMySms integration was introduced in Symfony 5.3. + +Clickatell +~~~~~~~~~~ + +``symfony/clickatell-notifier`` + +.. code-block:: bash + + # .env + clickatell://ACCESS_TOKEN@default?from=FROM + +.. versionadded:: 5.3 + + The Clickatell integration was introduced in Symfony 5.3. + SMS Channel OLD ~~~~~~~~~~~~~~~~