PHPackages                             ereminmdev/yii2-unisender - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. ereminmdev/yii2-unisender

Abandoned → [ereminmdev/yii2-unisendermailer](/?search=ereminmdev%2Fyii2-unisendermailer)Yii2-extension[Mail &amp; Notifications](/categories/mail)

ereminmdev/yii2-unisender
=========================

UniSender component for Yii framework.

v1.0.13(11mo ago)01.6kMITPHPPHP &gt;=7.4

Since Nov 19Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/ereminmdev/yii2-unisender)[ Packagist](https://packagist.org/packages/ereminmdev/yii2-unisender)[ Docs](https://github.com/ereminmdev/yii2-unisender)[ RSS](/packages/ereminmdev-yii2-unisender/feed)WikiDiscussions main Synced 2mo ago

READMEChangelogDependencies (2)Versions (15)Used By (0)

yii2-unisender
==============

[](#yii2-unisender)

UniSender API component for Yii framework.

Install
-------

[](#install)

`composer require --prefer-dist ereminmdev/yii2-unisender`

Configure
---------

[](#configure)

Add this component to config file:

```
'components' => [
    'unisender' => [
        'class' => 'ereminmdev\yii2\unisender\Unisender',
        'apiKey' => 'YOUR_UNISENDER_API_KEY',
        'retryCount' => 5,
        'httpClientConfig' => [
            ...
        ],
        'httpClientClass' => 'yii\httpclient\Client',
    ],
    ...
],

```

To configure http client see:

Use
---

[](#use)

```
$response = Yii::$app->get('unisender')->sendSms([
    'phone' => $phone,
    'sender' => $sender,
    'text' => $text,
]);

if ($response && $response->isOk) {
    ...
} else {
    ...
}

```

To simple process response and get returned data use processResponse() function:

```
$data = $sender->processResponse($sender->sendSms([
    'phone' => $phone,
    'sender' => Yii::$app->params['sender.sms.sender'],
    'text' => $text,
]));

```

API
---

[](#api)

UniSender API:

Log and profile
---------------

[](#log-and-profile)

See:

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance50

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

 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

Every ~239 days

Recently: every ~726 days

Total

14

Last Release

354d ago

PHP version history (3 changes)v1.0.0PHP &gt;=5.4.0

v1.0.12PHP &gt;=7.0

v1.0.13PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![ereminmdev](https://avatars.githubusercontent.com/u/10267331?v=4)](https://github.com/ereminmdev "ereminmdev (2 commits)")

---

Tags

yii2unisender

### Embed Badge

![Health badge](/badges/ereminmdev-yii2-unisender/health.svg)

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

###  Alternatives

[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

77199.7k5](/packages/loveorigami-yii2-notification-wrapper)[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6735.5k2](/packages/tuyakhov-yii2-notifications)

PHPackages © 2026

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