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
Hi!
Pretty nice package, but for me at a glance it lacks opportunity to specify my own custom gateway for sending SMS.
This could be achieved in two ways from user-side:
Specify Gateway class directly in config. In this case the package core should check, whether specified value in config is of predefined gateways (it should have an internal array of supported gateways out of the box and just check whether supplied gateway string is in this array). The problem here is how to specify gateway's credentials.
Have a public Facade method which should be called prior to sending SMS, somthing like this:
$gw = new \App\Sms\MyCustomGateway("my_user_id", "my_secret");
Sms::setGateway($gw);
Sms::send("Code: 4356", "79111234567");
Hope you'll find this issue useful and implement as soon as you have time :)
Good luck and Regards,
Amegatron.
The text was updated successfully, but these errors were encountered:
Hi!
Pretty nice package, but for me at a glance it lacks opportunity to specify my own custom gateway for sending SMS.
This could be achieved in two ways from user-side:
Hope you'll find this issue useful and implement as soon as you have time :)
Good luck and Regards,
Amegatron.
The text was updated successfully, but these errors were encountered: