hobrt/hbsms

This is a simple library to interact with hbsms.com api and send sms .

Installs: 22

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hobrt/hbsms

dev-master 2022-01-10 04:06 UTC

This package is auto-updated.

Last update: 2026-01-10 13:38:55 UTC


README

This is a simple library to interact with hbsms.com api and send sms .

composer require hobrt/hbsms:dev-master
<?php

require __DIR__."/vendor/autoload.php";

use hobrt\Hbsms;

$sms = new Hbsms("Your token");

$phone_number = "0678173186";

$message = "test first message ... ";

$device_id = 1;

$response = $sms->newSms($message, $phone_number, $device_id);

print_r(json_decode($response->getBody()));