etech/sms

v1.4 2023-02-11 10:46 UTC

This package is auto-updated.

Last update: 2024-10-11 14:44:10 UTC


README

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 8.0.x and above

Installation via Composer

Package is available on Packagist, you can install it using Composer.

composer require etech/sms

Quick Examples

Sending a SMS
	$oMessage = \Etech\Sms\Message::create('YOUR_LOGIN', 'YOUR_PASSWORD');
	$oMessage->from ='YourCompany';
	$oMessage->to = '+237612345678';
	$oMessage->message ='Hello 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 = \Etech\Sms\Message::create('YOUR_LOGIN', 'YOUR_PASSWORD');
	$oMessage->from ='YourCompany';
	$oMessage->to =['+237612345678', '+237612345679', '+237612345610'];
	$oMessage->message ='Hello World! Déjà vu!';
	var_dump($oMessage->send());

Resources