require 'vendor/autoload.php';
use Beem\SDK\Services\SMS;
// Instantiate with credentials
$smsHandler = new SMS([
'api_key' => 'YOUR_API_KEY',
'secret_key' => 'SECRET_KEY',
]);
// Setup the transaction
$data = array(
'source_addr' => 'INFO',
'encoding' => 0,
'schedule_time' => '',
'message' => 'Hello World',
'recipients' => [array('recipient_id' => '1','dest_addr'=>'255700000001'),
);
// Execute
$result = $smsHandler->send($data);
// Print results
var_dump($result);
composer test
If you have a feature request, or you encounter a bug, please file an issue on our issue tracker on GitHub.
Please see CHANGELOG for more information what has changed recently.
Please review our CONTRIBUTING for details.
If you discover any security related issues, please email alphaolomi@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.