nimbuz / sms
CAMOO API Packages
v1.0
2021-01-10 16:20 UTC
Requires
- php: >=7.1
- ext-mbstring: *
- giggsey/libphonenumber-for-php: ^8.10
- guzzlehttp/guzzle: ^6.3
- vlucas/valitron: ^1.4
Requires (Dev)
- phpunit/phpunit: ^7.0
Suggests
- phpunit/phpunit: Allows automated tests to be run without system-wide install.
This package is auto-updated.
Last update: 2024-10-11 02:19:11 UTC
README
PHP SMS API Sending SMS via the Nimbuz-Keys SMS gateway
Requirement
This library needs minimum requirement for doing well on run.
- Sign up for a free CAMOO SMS account
- Ask CAMOO Team for new access_key for developers
- CAMOO SMS API client for PHP requires version 7.1.x and above
Installation via Composer
Package is available on Packagist, you can install it using Composer.
composer require nimbuz/sms
Quick Examples
Sending a SMS
$oMessage = \Nimbuz\Sms\Message::create('YOUR_LOGIN', 'YOUR_PASSWORD'); $oMessage->from ='YourCompany'; $oMessage->to = '+237612345678'; $oMessage->message ='Hello Kmer World! Déjà vu!'; var_dump($oMessage->send());
Send the same SMS to many recipients
- Per request, a max of 50 recipients can be entered.
$oMessage = \Nimbuz\Sms\Message::create('YOUR_LOGIN', 'YOUR_PASSWORD'); $oMessage->from ='YourCompany'; $oMessage->to =['+237612345678', '+237612345679', '+237612345610']; $oMessage->message ='Hello Kmer World! Déjà vu!'; var_dump($oMessage->send());
Sending Bulk SMS from your Script
It is obvious that sending bulk data to any system is a problem! Therefore you should check our recommendation for the best approach
WordPress Plugin
If you are looking for a powerful WordPress plugin to send SMS, then download our wp-camoo-sms