Skip to content
/ xenon Public
forked from arif98741/multisms

Xenon is a universal SMS sending library specially for Bangladesh. You can integrate this library in your PHP application easily for sending SMS to any Bangladeshi mobile number. This is for raw PHP.

Notifications You must be signed in to change notification settings

sim8568X/xenon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xenon/multisms is a universal sms sending library specially for Bangladesh.
You can integrate this library in your php application easily for sending sms to any Bangladeshi mobile number. This is for raw php as well.

Installation

composer require xenon/multisms

Sample Code

use Xenon\Multisms\Provider\BulkSmsBD;
use Xenon\Multisms\Sender;

require 'vendor/autoload.php';

$sender = Sender::getInstance();
try {
    $response = $sender->selectProvider(BulkSmsBD::class)
            ->setConfig(['username' => '017555XYZAB', 'password' => 'XXXXX'])
            ->setMessage('hello')
            ->setMobile('017XXXXXXX')
            ->send();
    var_dump($response);
} catch (Exception $e) {
    var_dump($e->getMessage());
}

Currently Supported SMS Gateways

  • BDBulkSMS
  • BulkSMSBD
  • MDLSMS
  • OnnoRokomSMS
  • SSLSms
  • MIMSMS

We are continuously working in this open source library for adding more Bangladeshi sms gateway. If you fee something is missing then make a issue regarding that. If you want to contribute in this library, then you are highly welcome to do that.

About

Xenon is a universal SMS sending library specially for Bangladesh. You can integrate this library in your PHP application easily for sending SMS to any Bangladeshi mobile number. This is for raw PHP.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%