PHPackages                             undjike/cleansms - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. undjike/cleansms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

undjike/cleansms
================

Send SMS and manage your CleanSMS account.

v1.0.0(5y ago)3231MITPHP

Since Aug 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/undjike/cleansms)[ Packagist](https://packagist.org/packages/undjike/cleansms)[ RSS](/packages/undjike-cleansms/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

[![logo](https://camo.githubusercontent.com/d1655c5fc3f91b32c28a4b64873eaa7825eafae6c0c239b81e53c38ca27886f0/68747470733a2f2f6d792e636c65616e736d732e62697a2f6173736574732f696d616765732f6c6f676f2e706e67)](https://camo.githubusercontent.com/d1655c5fc3f91b32c28a4b64873eaa7825eafae6c0c239b81e53c38ca27886f0/68747470733a2f2f6d792e636c65616e736d732e62697a2f6173736574732f696d616765732f6c6f676f2e706e67)

[![Latest Stable Version](https://camo.githubusercontent.com/a92fdb554795e49ec92d183aff4d235bd27fca1d042166c1c93d8efac76802bf/68747470733a2f2f706f7365722e707567782e6f72672f756e646a696b652f636c65616e736d732f762f737461626c652e737667)](https://packagist.org/packages/undjike/cleansms)[![License](https://camo.githubusercontent.com/5b4bbec783f6105418e8a6b41150c66b5fa78d996d1497d00dfbd378beb00ebb/68747470733a2f2f706f7365722e707567782e6f72672f756e646a696b652f636c65616e736d732f6c6963656e73652e737667)](https://packagist.org/packages/undjike/cleansms)[![Total Downloads](https://camo.githubusercontent.com/4593ddff2f39cad0d22a4ca7e01b3dedf0e0d476f305e96158569fe6eb40c13b/68747470733a2f2f706f7365722e707567782e6f72672f756e646a696b652f636c65616e736d732f642f746f74616c2e737667)](https://packagist.org/packages/undjike/cleansms)[![Dependents](https://camo.githubusercontent.com/2b13068c85a8f737bf35a663c7f1db37e6aec6e4f54afb63834a6e7c6a7abe2a/68747470733a2f2f706f7365722e707567782e6f72672f756e646a696b652f636c65616e736d732f646570656e64656e74732e737667)](https://packagist.org/packages/undjike/cleansms)

Introduction
------------

[](#introduction)

This PHP package enables you to easily send SMS using CleanSMS Service. It has an elegant syntax, and it is very easy to install and use.

Just few steps, and it's ready.

Create an account on [CleanSMS](https://www.cleansms.biz/), configure it and generate API Key. Then, let's start.

Installation
------------

[](#installation)

This package can be installed via composer. Just type :

```
composer require undjike/cleansms
```

This will download everything needed for the package to work in your project.

Usage
-----

[](#usage)

After installation, you can send SMS.

```
use Undjike\CleanSmsPhp\CleanSms;

CleanSms::create()
     ->apiKey('SMS_API_KEY')
     ->email('YOUR_CLEANSMS_EMAIL')
     ->sendSms(
         'MESSAGE_TO_SEND',
         'RECEIVER_PHONE_NUMBER Phone number (Ex: "+237*****") or array of phone numbers (Ex: ["+237*****", "+245*****", ...])'
     );

/**
    Return true if the message is successfully sent, false if not.
    The response can be a JSON in some cases like 'no balance'.
*/
```

**Note**: `RECEIVER_PHONE_NUMBER` can be an ***array*** of valid phone numbers, or a ***string*** containing a single number.

You can query your account balance using this package.

```
use Undjike\CleanSmsPhp\CleanSms;

CleanSms::create()
     ->apiKey('SMS_API_KEY')
     ->email('YOUR_CLEANSMS_EMAIL')
     ->getCredit();

/**
    Return the number of SMS remaining in your account. (Ex: 44)
*/
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2084d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b6687e8d4c5a31a86a225b4af9a742242daae5a5bd40875fe68943134617bce1?d=identicon)[undjike](/maintainers/undjike)

---

Top Contributors

[![undjike](https://avatars.githubusercontent.com/u/57102409?v=4)](https://github.com/undjike "undjike (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/undjike-cleansms/health.svg)

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

PHPackages © 2026

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