PHPackages                             toneflix-code/kudi-sms-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. toneflix-code/kudi-sms-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

toneflix-code/kudi-sms-php
==========================

A PHP wrapper for KudiSMS.

1.0.6(11mo ago)01.5k1MITPHPPHP ^8.1|^8.2|^8.3|^8.4

Since Feb 5Pushed 11mo agoCompare

[ Source](https://github.com/toneflix/kudi-sms-php)[ Packagist](https://packagist.org/packages/toneflix-code/kudi-sms-php)[ RSS](/packages/toneflix-code-kudi-sms-php/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (4)Versions (8)Used By (1)

KudiSMS PHP
===========

[](#kudisms-php)

[![Test & Lint](https://github.com/toneflix/kudi-sms-php/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/toneflix/kudi-sms-php/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/f7571a1f03502b84e6df096a8624c56385e1fe1987eba1e46f7d0c9d2958ed1b/687474703a2f2f706f7365722e707567782e6f72672f746f6e65666c69782d636f64652f6b7564692d736d732d7068702f76)](https://packagist.org/packages/toneflix-code/kudi-sms-php) [![Total Downloads](https://camo.githubusercontent.com/098f990dac91000795e8271c63ea32911d56e5d3aa30513cbd4c18e50d7e33ef/687474703a2f2f706f7365722e707567782e6f72672f746f6e65666c69782d636f64652f6b7564692d736d732d7068702f646f776e6c6f616473)](https://packagist.org/packages/toneflix-code/kudi-sms-php) [![Latest Unstable Version](https://camo.githubusercontent.com/72e6ae54e1c5bb39fded8aaf13edd2959c1e735ad8efdf65953e3ef5856635ef/687474703a2f2f706f7365722e707567782e6f72672f746f6e65666c69782d636f64652f6b7564692d736d732d7068702f762f756e737461626c65)](https://packagist.org/packages/toneflix-code/kudi-sms-php) [![License](https://camo.githubusercontent.com/99de169fbe11344d1ff68b832acf5bb6ee805863b00f06df4f0423171438732d/687474703a2f2f706f7365722e707567782e6f72672f746f6e65666c69782d636f64652f6b7564692d736d732d7068702f6c6963656e7365)](https://packagist.org/packages/toneflix-code/kudi-sms-php) [![PHP Version Require](https://camo.githubusercontent.com/b406cfe1d24729036fc61511dd3e9794db555d1ccb3bcea6c50ea9696ca665ab/687474703a2f2f706f7365722e707567782e6f72672f746f6e65666c69782d636f64652f6b7564692d736d732d7068702f726571756972652f706870)](https://packagist.org/packages/toneflix-code/kudi-sms-php)[![codecov](https://camo.githubusercontent.com/735001e2eeac6a6de72b365f3f6d185a91ec6582bca03eebb41e574f455d633a/68747470733a2f2f636f6465636f762e696f2f67682f746f6e65666c69782f6b7564692d736d732d7068702f67726170682f62616467652e7376673f746f6b656e3d324f376146756c513950)](https://codecov.io/gh/toneflix/kudi-sms-php)

[KudiSMS Documentation](https://developer.kudisms.net/)

KudiSMS PHP is a PHP wrapper library for KudiSMS.

Quick Start
-----------

[](#quick-start)

### Installation

[](#installation)

```
composer require toneflix-code/kudi-sms-php
```

### Configure environment

[](#configure-environment)

VariableRequiredDescriptionKUDISMS\_GATEWAYNoYour prefered gatewayKUDISMS\_API\_KEYYesYour API keyKUDISMS\_SENDER\_IDYesSMS Sender IDKUDISMS\_TEST\_NUMBERSNoNumbers to use when running testsUsage
-----

[](#usage)

### Initialize

[](#initialize)

To initialize, simply call create new instance of the `SmsSender` class.

```
use ToneflixCode\KudiSmsPhp\SmsSender;

$instance = new SmsSender();
```

Optionally you can pass your `sender ID` and `API key` as parameters to the instance if you're unable to use environment variables.

```
use ToneflixCode\KudiSmsPhp\SmsSender;

$instance = new SmsSender('SenderID', 'APIKey');
```

### Send OTP

[](#send-otp)

Call the `sendOtp` method with the recipient, otp, appnamecode and templatecode as parameters.

```
$instance->sendOtp(
    recipient: '0807...',
    otp: string,
    appnamecode: string,
    templatecode: string
);
```

### Send to a single number

[](#send-to-a-single-number)

Call the `send` method with the number and message as parameters.

```
$instance->send(
    recipient: '0807...',
    message: string
);
```

### Send to a multiple numbers

[](#send-to-a-multiple-numbers)

Call the `sendBulk` method with an array of numbers and message as parameters.

```
$instance->sendBulk(
    recipients: ['0807...', '0903...'],
    message: string
);
```

### Corporate SMS

[](#corporate-sms)

To send using the corporate endpoint call the chainable `corporate` method before calling the `send` or `sendBulk` methods.

```
$instance->corporate()->send(
    recipient: '0807...',
    message: string
);
```

### Initialize Voice Messaging

[](#initialize-voice-messaging)

To initialize, simply call create new instance of the `VoiceSender` class.

```
use ToneflixCode\KudiSmsPhp\VoiceSender;

$instance = new VoiceSender();
```

Optionally you can pass your `Caller ID` and `API key` as parameters to the instance if you're unable to use environment variables.

```
use ToneflixCode\KudiSmsPhp\SmsSender;

$instance = new SmsSender('CallerId', 'APIKey');
```

### Send voice message

[](#send-voice-message)

Call the `send` method with the number and a valid audio file url as parameters.

```
$instance->send(
    to: '0807...',
    url: string
);
```

### Send text to speach message

[](#send-text-to-speach-message)

Call the `tts` method with the number and message as parameters.

```
$instance->tts(
    to: '0807...',
    message: string
);
```

Testing
-------

[](#testing)

```
$ composer test
```

All tests are available withing the `tests` directory, most are skipped as the service is not free, you can also write your own tests.

Contributors
------------

[](#contributors)

- [Legacy](https://github.com/3m1n3nc3)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance51

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~87 days

Recently: every ~131 days

Total

7

Last Release

345d ago

PHP version history (2 changes)1.0.0PHP ^8.1|^8.2|^8.3

1.0.5PHP ^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/4638f9de973d94753ebff641af3009e1049064f9a6bd76fe87e58d0d8ddd7ca7?d=identicon)[3m1n3nc3](/maintainers/3m1n3nc3)

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/toneflix-code-kudi-sms-php/health.svg)

```
[![Health](https://phpackages.com/badges/toneflix-code-kudi-sms-php/health.svg)](https://phpackages.com/packages/toneflix-code-kudi-sms-php)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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