PHPackages                             borisgautier/sms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. borisgautier/sms

ActiveLibrary[API Development](/categories/api)

borisgautier/sms
================

CAMOO API Packages

v3.1.5(5y ago)015MITPHPPHP &gt;=7.0

Since Dec 31Pushed 4y agoCompare

[ Source](https://github.com/BorisGautier/sms)[ Packagist](https://packagist.org/packages/borisgautier/sms)[ Docs](https://camoo.cm)[ RSS](/packages/borisgautier-sms/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (5)Versions (17)Used By (0)

 [ ![CamooSms](https://camo.githubusercontent.com/a6036362bfd8c5e42ec7070f8aeebdcfe5859b1b2bdae934063271617e6b8bac/68747470733a2f2f7777772e63616d6f6f2e686f7374696e672f696d672f6c6f676f732f6c6f676f446f6d61696e2e706e67) ](https://www.camoo.cm/bulk-sms)

 PHP SMS API Sending SMS via the ***CAMOO SMS gateway***

 [ ![Build Status](https://camo.githubusercontent.com/92ff3ca85d71bc1e58437154fbfabc01d77da9b741795a4afe24e5a597291bfb/68747470733a2f2f7472617669732d63692e636f6d2f63616d6f6f2f736d732e7376673f6272616e63683d6d6173746572) ](https://travis-ci.com/camoo/sms) [ ![](https://camo.githubusercontent.com/617732cfe8f738e763144c2b1f6e73aee664ea9bc3cd670260581fbde464d31e/68747470733a2f2f636f6465636f762e696f2f67682f63616d6f6f2f736d732f6272616e63682f6d61737465722f67726170682f62616467652e737667) ](https://codecov.io/gh/camoo/sms)

Requirement
-----------

[](#requirement)

This library needs minimum requirement for doing well on run.

- [Sign up](https://www.camoo.cm/join) for a free CAMOO SMS account
- Ask CAMOO Team for new access\_key for developers
- CAMOO SMS API client for PHP requires version 7.0.x and above

Installation via Composer
-------------------------

[](#installation-via-composer)

Package is available on [Packagist](https://packagist.org/packages/camoo/sms), you can install it using [Composer](http://getcomposer.org).

```
composer require camoo/sms
```

### Or go to

[](#or-go-to)

[Camoo-SMS-API-Latest Release](https://github.com/camoo/sms/releases/tag/v3.1.5)

And download the full version

If you want to install a legacy version running with `PHP5.6`Run composer with the command below

```
composer require camoo/sms "3.0.*"
```

Or Download it from [Camoo-SMS-API-Legacy](https://github.com/camoo/sms/releases/tag/v3.0.6)

Quick Examples
--------------

[](#quick-examples)

##### Sending a SMS

[](#sending-a-sms)

```
	$oMessage = \Camoo\Sms\Message::create('YOUR_API_KEY', 'YOUR_API_SECRET');
	$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

[](#send-the-same-sms-to-many-recipients)

```
- Per request, a max of 50 recipients can be entered.

```

```
	$oMessage = \Camoo\Sms\Message::create('YOUR_API_KEY', 'YOUR_API_SECRET');
	$oMessage->from ='YourCompany';
	$oMessage->to =['+237612345678', '+237612345679', '+237612345610', '+33689764530'];
	$oMessage->message ='Hello Kmer World! Déjà vu!';
	var_dump($oMessage->send());
```

##### Sending non customized sender SMS.

[](#sending-non-customized-sender-sms)

```
    $oMessage = \Camoo\Sms\Message::create('YOUR_API_KEY', 'YOUR_API_SECRET');
    $oMessage->from ='WhatEver'; // will be overridden
    $oMessage->to = '+237612345678';
    // This parameter tells our system to use the classic route to send your message.
    $oMessage->route ='classic';
    $oMessage->message ='Hello Kmer World! Déjà vu!';
    var_dump($oMessage->send());
```

##### Sending an encrypted SMS

[](#sending-an-encrypted-sms)

```
Encrypt message using GPG before sending, ensure an end to end ecryption between your server and ours

```

```
	$oMessage = \Camoo\Sms\Message::create('YOUR_API_KEY', 'YOUR_API_SECRET');
	$oMessage->from ='YourCompany';
	$oMessage->to = '+237612345678';
	$oMessage->message ='Hello Kmer World! Déjà vu!';
	$oMessage->encrypt = true;
	var_dump($oMessage->send());
```

##### Sending BULK SMS

[](#sending-bulk-sms)

Send Bulk SMS in background. This call requires `shell_exec` to be enabled

```
	$oMessage = \Camoo\Sms\Message::create('YOUR_API_KEY', 'YOUR_API_SECRET');
	$oMessage->from ='YourCompany';
	$oMessage->to = ['+237612345678', '+237612345679', '+237612345610', '+33689764530', '+4917612345671'];
	$oMessage->message ='Hello Kmer World! Déjà vu!';
	var_dump($oMessage->sendBulk());
```

##### Sending Personalized BULK SMS

[](#sending-personalized-bulk-sms)

Send Bulk SMS in background. This call requires `shell_exec` to be enabled You should use the placeholder `%NAME%` in your message and the property `to` should be an associative array containing `name` and `mobile` for each element. See the example below

```
	$oMessage = \Camoo\Sms\Message::create('YOUR_API_KEY', 'YOUR_API_SECRET');
	$oMessage->from ='YourCompany';
	$oMessage->to = [['name' => 'John Doe', 'mobile' => '+237612345678'], ['name' => 'Jeanne Doe', 'mobile' => '+237612345679'], ['...']];
	$oMessage->message ='Hello %NAME% Kmer World! Déjà vu!';
	var_dump($oMessage->sendBulk());
```

##### Sending Bulk SMS from your Script

[](#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

- (***[See example for bulk sms](https://github.com/camoo/sms/wiki/How-to-send-Bulk-SMS-from-your-script#send-sms-sequentially)***)

WordPress Plugin
----------------

[](#wordpress-plugin)

If you are looking for a powerful WordPress plugin to send SMS, then download our [wp-camoo-sms](https://github.com/camoo/wp-camoo-sms)

Resources
---------

[](#resources)

- [Documentation](https://github.com/camoo/sms/wiki)
- [Report issues](https://github.com/camoo/sms/issues)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 83.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~75 days

Recently: every ~98 days

Total

13

Last Release

2154d ago

PHP version history (3 changes)v3.0.1PHP &gt;=5.6.0

v3.1.0PHP &gt;=7.1.0

v3.1.3PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/85595f55e3e690554c90d5555326292c0b5772348438c0f19b1d48d7b9b7d0be?d=identicon)[BorisGautier](/maintainers/BorisGautier)

---

Top Contributors

[![epinett](https://avatars.githubusercontent.com/u/16965658?v=4)](https://github.com/epinett "epinett (94 commits)")[![camoo](https://avatars.githubusercontent.com/u/24289021?v=4)](https://github.com/camoo "camoo (16 commits)")[![BorisGautier](https://avatars.githubusercontent.com/u/26621264?v=4)](https://github.com/BorisGautier "BorisGautier (3 commits)")

---

Tags

smsbulk-smssms-gatewayapi smsCAMOOGPG SMS encrytionPlugin camoo sms

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/borisgautier-sms/health.svg)

```
[![Health](https://phpackages.com/badges/borisgautier-sms/health.svg)](https://phpackages.com/packages/borisgautier-sms)
```

###  Alternatives

[plivo/plivo-php

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1102.8M18](/packages/plivo-plivo-php)[plivo/php-sdk

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1101.9M5](/packages/plivo-php-sdk)[africastalking/africastalking

Official Africa's Talking PHP SDK

122557.6k10](/packages/africastalking-africastalking)[ardakilic/mutlucell

Mutlucell SMS API wrapper for sending sms text messages for Laravel

457.3k](/packages/ardakilic-mutlucell)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
