PHPackages                             the-real-start/yii2-async-notifications - 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. the-real-start/yii2-async-notifications

ActiveYii2-extension[Mail &amp; Notifications](/categories/mail)

the-real-start/yii2-async-notifications
=======================================

Notification component to run async mail,push and sms notifications sending.

v1.2.3(9y ago)039MITPHPPHP &gt;=5.4.0

Since Dec 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/TheRealStart/yii2-async-notifications)[ Packagist](https://packagist.org/packages/the-real-start/yii2-async-notifications)[ Docs](https://github.com/TheRealStart/yii2-async-notifications)[ RSS](/packages/the-real-start-yii2-async-notifications/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (4)Versions (40)Used By (0)

Yii2 async notifications
========================

[](#yii2-async-notifications)

Overview
--------

[](#overview)

Purpose of this package is to build easy to use asyncronious notification system in yii2 project.

Package allowes to send e-mail, and push notifications to apple and google play cloud.

For queue management [Rabbit MQ](https://www.rabbitmq.com/) is used.

Package is pretty raw and has a lot of rooms for improvement.

We are open to new pull requests, suggestions.

Install
-------

[](#install)

The preferred way to install this extension is through composer.

Either run

```
php composer.phar require --prefer-dist the-real-start/yii2-async-notifications "*"

```

or add

```
"the-real-start/yii2-async-notifications": "*"

```

to the require section of your composer.json file.

Configuration
-------------

[](#configuration)

In `common/config/main-local.php` add `amqp` component:

```
...
        'amqp'          => [
            'class'        => TRS\AsyncNotification\components\amqp\Amqp::className(),
            'host'         => '127.0.0.1',
            'port'         => 5672,
            'user'         => 'guest',
            'password'     => 'guest',
            'vhost'        => '/',
            'exchange'     => 'my-exchange-name',
            'exchangeType' => \TRS\AsyncNotification\components\amqp\Amqp::TYPE_DIRECT,
            'exchangeArgs' => []
        ],
...

```

Change parameters depending on your local environment.

This component set's up connection with rabbitmq.

Then setup notifications you'd like to proceed.

For instance mail:

```
...
        'mailer'        => [
            'class'            => 'yii\swiftmailer\Mailer',
            'viewPath'         => '@common/mail',
            // send all mails to a file by default. You have to set
            // 'useFileTransport' to false and configure a transport
            // for the mailer to send real emails.
            'useFileTransport' => false,
        ],
...

```

Work in progress

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity70

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

Recently: every ~34 days

Total

39

Last Release

3494d ago

Major Versions

0.1.1 → 1.0.02015-12-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/484070b5d993e3b019b1ba0825a83a253311ca35f909f309a597f9df8bb959a6?d=identicon)[the-real-start](/maintainers/the-real-start)

---

Tags

asyncpushemailnotificationyii2extensionyii

### Embed Badge

![Health badge](/badges/the-real-start-yii2-async-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/the-real-start-yii2-async-notifications/health.svg)](https://phpackages.com/packages/the-real-start-yii2-async-notifications)
```

###  Alternatives

[nterms/yii2-mailqueue

Email queue component for yii2 that works with yii2-swiftmailer.

84133.5k2](/packages/nterms-yii2-mailqueue)[kartik-v/yii2-widget-growl

A widget to generate growl based notifications using bootstrap-growl plugin (sub repo split from yii2-widgets)

384.3M14](/packages/kartik-v-yii2-widget-growl)[djagya/yii2-sparkpost

A library provides Yii2 integration with SparkPost mail service

1816.4k](/packages/djagya-yii2-sparkpost)[boundstate/yii2-mailgun

Mailgun integration for the Yii framework

28165.8k](/packages/boundstate-yii2-mailgun)[develandoo/yii2-push-notification

Yii2 apns/gcm push notification

3630.7k1](/packages/develandoo-yii2-push-notification)[odaialali/yii2-toastr

This is the Toastr extension for Yii 2. It encapsulates Toastr plugin in terms of Yii widgets, and makes ajax notification easy to implement.

1488.4k](/packages/odaialali-yii2-toastr)

PHPackages © 2026

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