nimbuz/sms

v1.0 2021-01-10 16:20 UTC

This package is auto-updated.

Last update: 2024-10-11 02:19:11 UTC


README

CamooSms

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

Resources