@@ -15,13 +15,15 @@ Get the Notifier installed using:
15
15
$ composer require symfony/notifier
16
16
17
17
.. _channels-chatters-texters-email-and-browser :
18
+ .. _channels-chatters-texters-email-browser-and-push :
18
19
19
- Channels: Chatters, Texters, Email, Browser and Push
20
- ----------------------------------------------------
20
+ Channels
21
+ --------
21
22
22
- The notifier component can send notifications to different channels. Each
23
- channel can integrate with different providers (e.g. Slack or Twilio SMS)
24
- by using transports.
23
+ Channels refer to the different mediums through which notifications can be delivered.
24
+ These channels include email, SMS, chat services, push notifications, etc. Each
25
+ channel can integrate with different providers (e.g. Slack or Twilio SMS) by
26
+ using transports.
25
27
26
28
The notifier component supports the following channels:
27
29
@@ -33,28 +35,23 @@ The notifier component supports the following channels:
33
35
* Browser channel uses :ref: `flash messages <flash-messages >`.
34
36
* :ref: `Push channel <notifier-push-channel >` sends notifications to phones and browsers via push notifications.
35
37
36
- .. tip ::
37
-
38
- Use :doc: `secrets </configuration/secrets >` to securely store your
39
- API tokens.
40
-
41
38
.. _notifier-sms-channel :
42
39
43
40
SMS Channel
44
41
~~~~~~~~~~~
45
42
43
+ The SMS channel uses :class: `Symfony\\ Component\\ Notifier\\ Texter ` classes
44
+ to send SMS messages to mobile phones. This feature requires subscribing to
45
+ a third-party service that sends SMS messages. Symfony provides integration
46
+ with a couple popular SMS services:
47
+
46
48
.. caution ::
47
49
48
50
If any of the DSN values contains any character considered special in a
49
51
URI (such as ``: / ? # [ ] @ ! $ & ' ( ) * + , ; = ``), you must
50
52
encode them. See `RFC 3986 `_ for the full list of reserved characters or use the
51
53
:phpfunction: `urlencode ` function to encode them.
52
54
53
- The SMS channel uses :class: `Symfony\\ Component\\ Notifier\\ Texter ` classes
54
- to send SMS messages to mobile phones. This feature requires subscribing to
55
- a third-party service that sends SMS messages. Symfony provides integration
56
- with a couple popular SMS services:
57
-
58
55
================== ====================================================================================================================================
59
56
Service
60
57
================== ====================================================================================================================================
@@ -203,6 +200,11 @@ Service
203
200
**Webhook support **: No
204
201
================== ====================================================================================================================================
205
202
203
+ .. tip ::
204
+
205
+ Use :doc: `Symfony configuration secrets </configuration/secrets >` to securely
206
+ store your API tokens.
207
+
206
208
.. tip ::
207
209
208
210
Some third party transports, when using the API, support status callbacks
0 commit comments