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

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

dpodium/yii2-nexmo
==================

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

1.3(9y ago)14132[1 PRs](https://github.com/dpodium/yii2-nexmo/pulls)BSDPHPPHP &gt;=5.4

Since Jul 14Pushed 6y ago4 watchersCompare

[ Source](https://github.com/dpodium/yii2-nexmo)[ Packagist](https://packagist.org/packages/dpodium/yii2-nexmo)[ RSS](/packages/dpodium-yii2-nexmo/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (6)Versions (14)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

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~25 days

Recently: every ~73 days

Total

13

Last Release

3336d ago

Major Versions

0.9.6 → 1.02016-07-19

### Community

Maintainers

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

---

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)")

---

Tags

smsyii2nexmo

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[daixianceng/yii2-smser

Yii2 SMS extension

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

Aliyun SMS SDK for Yii2

1316.8k1](/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)
