PHPackages                             baha2odeh/yii2-nexmo - 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. baha2odeh/yii2-nexmo

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

baha2odeh/yii2-nexmo
====================

Yii2 nexmo is a wrapper for the Nexmo PHP library. Allow yii2 application to use nexmo services.

2.0(6y ago)2136BSDPHPPHP &gt;=5.4

Since Jul 14Pushed 6y agoCompare

[ Source](https://github.com/Baha2Odeh/yii2-nexmo)[ Packagist](https://packagist.org/packages/baha2odeh/yii2-nexmo)[ RSS](/packages/baha2odeh-yii2-nexmo/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (6)Versions (16)Used By (0)

Yii2 Nexmo
==========

[](#yii2-nexmo)

Nexmo yii2 wrapper. Enable nexmo services in yii2 application.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require dpodium/yii2-nexmo "*"

```

or add

```
"dpodium/yii2-nexmo": "*"

```

to the require section of your `composer.json` file.

Component Setup
---------------

[](#component-setup)

Once the extension is installed, simply modify your application configuration as follows:

```
return [
    'components' => [
    ...
        'nexmo' => [
                   'class' => dpodium\yii2\Nexmo\NexmoManager::class,
                   'config' => [
                                   'api.key' => API_KEY, //from nexmo
                                   'api.secret' => API_SECRET, //from nexmo
                               ],
                   //leave blank if not applicable
                   'proxy' => [
                                   'host' => HOST,
                                   'port' => PORT,
                               ],
               ],
        ...
    ],
    ...
];
```

Usage

---

```
Sending message
Yii::$app->nexmo->sendSms(TO, FROM, 'Test Nexmo Message');

Receiving A Message
Yii::$app->nexmo->receiveMessage();

Fetching A Message
Yii::$app->nexmo->fetchMessage(MESSAGE_ID);

Starting a Verification
Yii::$app->nexmo->initVerification(NUMBER, BRAND);

Controlling a Verification
Trigger
Yii::$app->nexmo->triggerVerification(REQUEST_ID);
Cancel
Yii::$app->nexmo->cancelVerification(REQUEST_ID);

Checking A Verification
Yii::$app->nexmo->checkVerification(REQUEST_ID, CODE);

Searching For A Verification
Yii::$app->nexmo->searchVerification(REQUEST_ID);

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 69.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 ~84 days

Recently: every ~294 days

Total

15

Last Release

2407d ago

Major Versions

0.9.6 → 1.02016-07-19

1.4 → 2.02019-10-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2823958?v=4)[Bahaa Odeh](/maintainers/Baha2Odeh)[@Baha2Odeh](https://github.com/Baha2Odeh)

---

Top Contributors

[![sionghuat](https://avatars.githubusercontent.com/u/13095881?v=4)](https://github.com/sionghuat "sionghuat (18 commits)")[![darrenng-dpodium](https://avatars.githubusercontent.com/u/12998063?v=4)](https://github.com/darrenng-dpodium "darrenng-dpodium (6 commits)")[![Baha2Odeh](https://avatars.githubusercontent.com/u/2823958?v=4)](https://github.com/Baha2Odeh "Baha2Odeh (2 commits)")

---

Tags

smsyii2nexmo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/baha2odeh-yii2-nexmo/health.svg)

```
[![Health](https://phpackages.com/badges/baha2odeh-yii2-nexmo/health.svg)](https://phpackages.com/packages/baha2odeh-yii2-nexmo)
```

###  Alternatives

[daixianceng/yii2-smser

Yii2 SMS extension

862.9k1](/packages/daixianceng-yii2-smser)[saviorlv/yii2-dysms

Aliyun SMS SDK for Yii2

1316.5k1](/packages/saviorlv-yii2-dysms)[abhi1693/yii2-sms

Send Free Sms for Yii2

171.9k](/packages/abhi1693-yii2-sms)

PHPackages © 2026

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