PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 280 All time: 7,620 This week: 55Up
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.

Picture of Josiah Ovye Yahaya
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

 

Recommendations

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

Documentation

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 (7)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:280
This week:0
All time:7,620
This week:55Up