Skip to content

Symfony example to send notifications via twilio

Notifications You must be signed in to change notification settings

jbtcd/symfony-notifier-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stand With Ukraine

Symfony Notifier SMS Example 📱💬

This project provides an example implementation of the symfony notifier bundle with twilio as the SMS provider.

Preparations

composer install

Create a twilio account and replace arguments in local .env file

Run the command

Just call the send-sms command and replace phone-number with the phone number which should receive the message

php bin/console app:send-sms phone-number

You also can provide the message which should send to the given phone number

php bin/console app:send-sms phone-number 'This is the message.'