Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (7) | Download .zip | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 278 | All time: 7,633 This week: 571 |
Version | License | PHP version | Categories | |||
smartsms 1.0.0 | Custom (specified... | 5 | PHP 5, Wireless and Mobile, Chat |
Description | Author | |
This package can deliver SMS messages using the SmartSMS API. |
Recommendation for a PHP class to send bulk sms
I want PHP source code to send SMS messages to many users
A flexible PHP library for smartsms solutions
composer require coderatio/smartsms
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();
The library returns json and object response type.
$sms->asObject(); //Returns response as object
$sms->response(); //Returns as json.
Files |
File | Role | Description | ||
---|---|---|---|---|
Foundation (1 file) | ||||
Services (1 file) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
config.php | Conf. | Configuration script | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.