PHP Classes

SmartSMS PHP Send SMS Message: Deliver SMS messages using the SmartSMS API

Recommend this page to a friend!
  Info   View files Documentation   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 262 This week: 1All time: 7,753 This week: 491Up
Version License PHP version Categories
smartsms 1.0.0Custom (specified...5PHP 5, Wireless and Mobile, Chat
Description Author

This package can deliver SMS messages using the SmartSMS API.

It can send HTTP request messages to the SmartSMS API Web server to execute several types of operations of with their SMS Web services.

Currently it can send SMS messages to given numbers and get balance of the current SmartSMS API.

Recommendations

Recommendation for a PHP class to send bulk sms
I want PHP source code to send SMS messages to many users

Picture of Josiah Ovye Yahaya
  Performance   Level  
Name: Josiah Ovye Yahaya <contact>
Classes: 6 packages by
Country: Nigeria Nigeria
Innovation award
Innovation award
Nominee: 1x

Details

Smartsms

A flexible PHP library for smartsms solutions

Installation

composer require coderatio/smartsms

Usage

require('vendor/autoload.php');

use Coderatio\Smartsms\Smartsms;

$config['token'] = env('SMARTSMS_TOKEN'); 
// Or 
$config['token'] = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";

$sms = Smartsms::init($config)
    ->to('XXX-XX-XXXX-XXXX')
    ->from('Coderatio')
    ->message('I have installed the library.')
    ->send();
    

Response

The library returns json and object response type.

$sms->asObject(); //Returns response as object

$sms->response(); //Returns as json.

Todo

  1. Send sms from files (txt, pdf, docs, .xls)
  2. Test (Phpunit)
  Files folder image Files  
File Role Description
Files folder imageFoundation (1 file)
Files folder imageServices (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file config.php Conf. Configuration script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  Foundation  
File Role Description
  Plain text file Configurator.php Class Class source

  Files folder image Files  /  Services  
File Role Description
  Plain text file Smartsms.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:262
This week:1
All time:7,753
This week:491Up