diff --git a/notifier.rst b/notifier.rst index 459f7d406b7..0df077f49ad 100644 --- a/notifier.rst +++ b/notifier.rst @@ -45,14 +45,77 @@ The notifier component supports the following channels: .. _notifier-sms-channel: .. _notifier-texter-dsn: -SMS Channel -~~~~~~~~~~~ +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 +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 - 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 +~~~~~~~~~~~~~~~~ + ========== ================================ ==================================================== Service Package DSN ========== ================================ ====================================================