Skip to content

jasirilabs/swahiba-sms

Repository files navigation

Nanasi Sms

Banner Image

Note

Feel free to play with the code.

Get started

Warning

This is a work in progress.

use JasiriLabs\NanasiSMS\Config;
use JasiriLabs\NanasiSMS\NextSms\NextSmsAdapter;
use JasiriLabs\NanasiSMS\SwahibaSms;

$config = new Config(['username' => 'username', 'password' => 'password']);

$sms = new SwahibaSms(
    new NextSmsAdapter($config),
    []
);
$sms->send(['255765975152', '255766073577'], ['Hello Sigma SMS', 'Its working']);

$sms->schedule('255746094190', 'Hello Scheduled SMS', ['date' => '2022-06-30', 'time' => '10:03']);

$sms->deliveryReport(['limit' => 3]) 

$sms->balance()

Contributing

We value contributions from the community. If you have any questions, please open an issue or pull request.

Security Vulnerabilities

In case of any security issue just email us at [email protected]

License

This project is licensed under the MIT license. See the LICENSE file for more information.

About

A convenient API to use SMS services on your PHP apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages