Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 885 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 885 Bytes

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.'