laravel-notification-channels / twilio

Twilio notifications channel for Laravel
https://laravel-notification-channels.com
227 stars 36 forks source link

Twilio customized to phone number #119

Open skybitbbsr opened 3 years ago

skybitbbsr commented 3 years ago

Issue: https://github.com/laravel-notification-channels/twilio/issues/118

To() method will allow developers to add phone numbers dynamically from the notification itself. If the user needs to use different phone numbers for different notifications, it will help a lot.

This is just to check if any recipient number is provided in the message itself. If provided, this means the developer wants to override the notifiable user's phone number. And if not overridden, then we can safely use the notifiable's phone number as it was before.