mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
Merge branch '7.1' into 7.2
* 7.1: [Notifier] Misc. minor tweaks
This commit is contained in:
31
notifier.rst
31
notifier.rst
@@ -17,12 +17,13 @@ Get the Notifier installed using:
|
||||
.. _channels-chatters-texters-email-and-browser:
|
||||
.. _channels-chatters-texters-email-browser-and-push:
|
||||
|
||||
Channels: Chatters, Texters, Email, Browser, Push and Desktop
|
||||
-------------------------------------------------------------
|
||||
Channels
|
||||
--------
|
||||
|
||||
The notifier component can send notifications to different channels. Each
|
||||
channel can integrate with different providers (e.g. Slack or Twilio SMS)
|
||||
by using transports.
|
||||
Channels refer to the different mediums through which notifications can be delivered.
|
||||
These channels include email, SMS, chat services, push notifications, etc. Each
|
||||
channel can integrate with different providers (e.g. Slack or Twilio SMS) by
|
||||
using transports.
|
||||
|
||||
The notifier component supports the following channels:
|
||||
|
||||
@@ -35,16 +36,16 @@ The notifier component supports the following channels:
|
||||
* :ref:`Push channel <notifier-push-channel>` sends notifications to phones and browsers via push notifications.
|
||||
* :ref:`Desktop channel <notifier-desktop-channel>` displays desktop notifications on the same host machine.
|
||||
|
||||
.. tip::
|
||||
|
||||
Use :doc:`secrets </configuration/secrets>` to securely store your
|
||||
API tokens.
|
||||
|
||||
.. _notifier-sms-channel:
|
||||
|
||||
SMS Channel
|
||||
~~~~~~~~~~~
|
||||
|
||||
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:
|
||||
|
||||
.. caution::
|
||||
|
||||
If any of the DSN values contains any character considered special in a
|
||||
@@ -52,11 +53,6 @@ SMS Channel
|
||||
encode them. See `RFC 3986`_ for the full list of reserved characters or use the
|
||||
:phpfunction:`urlencode` function to encode them.
|
||||
|
||||
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:
|
||||
|
||||
================== ====================================================================================================================================
|
||||
Service
|
||||
================== ====================================================================================================================================
|
||||
@@ -215,6 +211,11 @@ Service
|
||||
|
||||
The ``Primotexto`` integration was introduced in Symfony 7.2.
|
||||
|
||||
.. tip::
|
||||
|
||||
Use :doc:`Symfony configuration secrets </configuration/secrets>` to securely
|
||||
store your API tokens.
|
||||
|
||||
.. tip::
|
||||
|
||||
Some third party transports, when using the API, support status callbacks
|
||||
|
||||
Reference in New Issue
Block a user