3
3
4
4
.. versionadded :: 6.3
5
5
6
- The Webhook component was introduced in Symfony 6.3
6
+ The Webhook component was introduced in Symfony 6.3.
7
7
8
8
The Webhook component is used to respond to remote webhooks to trigger actions
9
9
in your application. This document focuses on using webhooks to listen to remote
@@ -16,17 +16,17 @@ Installation
16
16
17
17
$ composer require symfony/webhook
18
18
19
- Usage in combination with the Mailer component
19
+ Usage in Combination with the Mailer Component
20
20
----------------------------------------------
21
21
22
22
When using a third-party mailer, you can use the Webhook component to receive
23
23
webhook calls from the third-party mailer.
24
24
25
- In this example Mailgun is used with ``'mailer_mailgun' `` as webhook type.
26
- Any type name can be used as long as it's unique. Make sure to use it in the
25
+ In this example Mailgun is used with ``'mailer_mailgun' `` as the webhook type.
26
+ Any type name can be used as long as it is unique. Make sure to use it in the
27
27
routing configuration, the webhook URL and the RemoteEvent consumer.
28
28
29
- Install the third party mailer as described in the documentation of the
29
+ Install the third- party mailer as described in the documentation of the
30
30
:ref: `Mailer component <mailer_3rd_party_transport >`.
31
31
32
32
The Webhook component routing needs to be defined:
@@ -131,13 +131,13 @@ With this done, you can now add a RemoteEvent consumer to react to the webhooks:
131
131
}
132
132
}
133
133
134
- Usage in combination with the Notifier component
134
+ Usage in Combination with the Notifier Component
135
135
------------------------------------------------
136
136
137
137
The usage of the Webhook component when using a third-party transport in
138
138
the Notifier is very similar to the usage with the Mailer.
139
139
140
- Currently, the following third-party sms transports support webhooks:
140
+ Currently, the following third-party SMS transports support webhooks:
141
141
142
142
============ ==========================================
143
143
SMS service Parser service name
0 commit comments