bellal / victory-link-sms
Send SMSs using VictoryLink bulk sms API
Installs: 29 184
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 2
Open Issues: 0
Type:package
Requires
- php: >=7.2
- guzzlehttp/guzzle: ^7.1
- ramsey/uuid: ^4.7
README
Victory Link Bulk SMS API
Installing Package
The recommended way to install is through Composer.
composer require bellal/victory-link-sms
How to use
<?php use Bellal\VictoryLinkSMS\VictoryLink; $message = new VictoryLink([ 'username' => 'YOUR_USERNAME', 'password' => 'YOUR_PASSWORD', 'sender' => 'YOUR_SENDER', 'language' => 'MESSAGE LANGUAGE ex: e', ]); $message->send([ 'to' => '+201111111111', 'message' => "Your Message Goes Here", ]);
Get response message
$message->response()->getMessage();
Get response code
$message->response()->getCode();