symfony/twilio-notifier

Symfony Twilio Notifier Bridge

Maintainers

👁 fabpot

Package info

github.com/symfony/twilio-notifier

Homepage

Type:symfony-notifier-bridge

pkg:composer/symfony/twilio-notifier

Statistics

Installs: 1 261 407

Dependents: 3

Suggesters: 1

Stars: 13

v8.1.0 2026-05-29 05:06 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 5d6ab6c5c7cbbc3f32419cf2eb3391aa5d81a079

smstwilionotifier

This package is auto-updated.

Last update: 2026-06-05 06:51:36 UTC


README

Provides Twilio integration for Symfony Notifier.

DSN example

TWILIO_DSN=twilio://SID:TOKEN@default?from=FROM

where:

  • SID is your Twillio ID
  • TOKEN is your Twilio token
  • FROM is your sender

Adding Options to a Message

With a Twilio Message, you can use the TwilioOptions class to add message options.

use Symfony\Component\Notifier\Message\SmsMessage;
use Symfony\Component\Notifier\Bridge\Twilio\TwilioOptions;

$sms = new SmsMessage('+1411111111', 'My message');

$options = (new TwilioOptions())
 ->webhookUrl('test_webhook_url')
 // ...
 ;

// Add the custom options to the sms message and send the message
$sms->options($options);

$texter->send($sms);

Sponsor

This package is looking for a backer.

Help Symfony by sponsoring its development!

Resources