Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 280 | All time: 7,620 This week: 55![]() |
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.
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Conf. | Configuration script | ||
![]() ![]() |
Lic. | License text | ||
![]() ![]() |
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. |
![]() |
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.