hobrt/hbsms

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

Maintainers

Package info

github.com/hobrt-programming/hbsms-library

pkg:composer/hobrt/hbsms

Statistics

Installs: 22

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-04-10 14:19:13 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()));