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

ActiveYii2-extension

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 2mo ago

READMEChangelog (4)DependenciesVersions (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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community1

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

3446d ago

Major Versions

0.1.1 → 1.0.02015-12-22

### Community

### 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)
```

PHPackages © 2026

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