You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just now i'm released version 0.8.0, which added ability to defining provider-wide parameters.
Now you can define default message parameters in config, for example:
// config/nutnet-laravel-sms.php'providers' => [
'smsru' => [
// your other settings'message_defaults' => [
'from' => '<sender name>'
]
]
],
and you can send messages simply:
// "from" parameter will be added automatically, if defined in "message_defaults" option in config$sender->send('<phone_number>', '<your_message>');
Attention: configuration file format is changed, if you update to 0.8.0, dont forget to refresh it.
How to add parameter from?
The text was updated successfully, but these errors were encountered: