PHPackages                             fgh151/yii2-noifications - 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. fgh151/yii2-noifications

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

fgh151/yii2-noifications
========================

Yii2 notifications module

v0.0.1(10y ago)197MITPHPCI failing

Since May 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/fgh151/yii2-notifications)[ Packagist](https://packagist.org/packages/fgh151/yii2-noifications)[ RSS](/packages/fgh151-yii2-noifications/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Yii2 notifications module
=========================

[](#yii2-notifications-module)

Yii2 notifications module

This module provide functions to send notifications to user. Implements admin part where you can wie messages and create item. In frontend messages will be in bootstrap alert box, By the timer widget ask backend for new messages and show them.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist fgh151/yii2-noifications "*"

```

or add

```
"fgh151/yii2-noifications": "*"

```

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

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code to config :

```
'modules' => [
        ...
        'notification' => [
            'class' => 'fgh151\notifications\Module'
        ]
    ]
```

then include widget on pages where module will be:

```
echo fgh151\notifications\widgets\notifications\Widget::widget();
```

API
---

[](#api)

You can direct create message, for example:

```
$notify = new fgh151\notifications\models\Notification();
$notify->Message = $message;
$notify->UserId = $user;
$notify->Type = $type;
$notify->save();
```

or you can use method send:

```
fgh151\notifications\models\Notification::send('info', 'Info message' , 127);
```

where first argument - type of bootstrap message, second - message text, third - receiver user id, also you can send array of users, for example:

```
fgh151\notifications\models\Notification::send('info', 'Info message' , [1,2,3,4,5]);
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3734d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/645524?v=4)[Fedor Gorsky](/maintainers/fgh151)[@fgh151](https://github.com/fgh151)

---

Top Contributors

[![fgh151](https://avatars.githubusercontent.com/u/645524?v=4)](https://github.com/fgh151 "fgh151 (12 commits)")

---

Tags

yii2extensionnotify

### Embed Badge

![Health badge](/badges/fgh151-yii2-noifications/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13926.0k65](/packages/skeeks-cms)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1457.4k](/packages/dmstr-yii2-cookie-consent)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

2111.7k](/packages/imanilchaudhari-yii2-currency-converter)

PHPackages © 2026

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