Nexmo / nexmo-laravel

Add Vonage functionality such as SMS and voice calling to your Laravel app with this Laravel Service Provider.
MIT License
317 stars 79 forks source link

Send SMS for two different phone numbers #70

Closed dcbndev closed 1 year ago

dcbndev commented 2 years ago

A have a booking model, which collects client phone address and has an assigned thru foreign key employee id, that has it's own phone number. When a booking is created, an observer triggers 2 notifications. With the first notification, I am sending an SMS to client, and with the second I want to inform the employee about received booking thru SMS. How do I send notifications for two different phone numbers from the same booking model? Any help is appreciated!

public function routeNotificationForNexmo() { return [$this->client_phone, $this->employee->phone]; }

Your Environment

SecondeJK commented 1 year ago

This package is officially abandoned in favour of https://github.com/Vonage/vonage-laravel. Please use that, and open tickets in that repo if required, thanks.