PHPackages                             portalium/yii2-notification - 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. portalium/yii2-notification

ActivePortalium-core[Mail &amp; Notifications](/categories/mail)

portalium/yii2-notification
===========================

Module notification for Portalium

0569PHP

Since Apr 2Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/portalium/yii2-notification)[ Packagist](https://packagist.org/packages/portalium/yii2-notification)[ RSS](/packages/portalium-yii2-notification/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

Portalium-Notification

[](#portalium-notification)

Table of Contents
=================

[](#table-of-contents)

- [Introduction](#introduction)
- [Requirements](#requirements)
- [How does the Notification Module work?](#how-does-the-notification-module-work)
    - [Read](#read)
    - [Create](#create)
    - [Update](#update)
    - [Delete](#delete)
- [How to use or develop](#how-to-use-or-develop)
- [General Usage](#general-usage)
    - [Widgets](docs/widgets/widget.md)
    - [Component](docs/components/components.md)

Introduction
------------

[](#introduction)

This module created for sending and receiving notifications to specific users based on permissions that is given to related user.

Requirements
------------

[](#requirements)

PHP 7.3.31 or higher

How does the Notification Module work?
--------------------------------------

[](#how-does-the-notification-module-work)

Creating, Updating, Deleting and Viewing the notification is done base on the permissions that is given to users.

### Read

[](#read)

For reading or viewing your notifications you need to check the bell icon on the right corner of your login page. If you have any new notification, a number which states the number of notifications will be appeared on top of bell icon.

[![bell_icon](https://private-user-images.githubusercontent.com/91452487/257439251-d76e7abd-0414-4e63-9007-0a8231eb296f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE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ei1EYXRlPTIwMjYwNjE1VDE1MjAxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3M2ZjMzhmOWM1MTllNmFkNWVjOTVjM2NkOGMyMDQ4NjNmZmEzMmRlODIzZjUxZWY1ZWQyODg2MzgwYjFjNDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.UsUMNOJfJhi1W8uQK04rUqHxuGXrj41xOpg4vrq6sMs)

By clicking any of them you will be redirected to that notification.

[![notification_dropdown](https://private-user-images.githubusercontent.com/91452487/257439126-260a7baf-82b0-426c-a2f6-ac9e772612e7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE1MzcxMTksIm5iZiI6MTc4MTUzNjgxOSwicGF0aCI6Ii85MTQ1MjQ4Ny8yNTc0MzkxMjYtMjYwYTdiYWYtODJiMC00MjZjLWEyZjYtYWM5ZTc3MjYxMmU3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDE1MjAxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhM2M1NjZlNTk4ZjE3MzU3YjAzMTkwMzQ2ODgxYmI4NmJkOGU3ZTIxNzdjZWE4NWU5ZDM0MDYwM2MzOTU2YjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.aj1oFqZyzgKTxwNcVOCxvLR_rD832Gkm9gkyjHYc6Jg)](https://private-user-images.githubusercontent.com/91452487/257439126-260a7baf-82b0-426c-a2f6-ac9e772612e7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE1MzcxMTksIm5iZiI6MTc4MTUzNjgxOSwicGF0aCI6Ii85MTQ1MjQ4Ny8yNTc0MzkxMjYtMjYwYTdiYWYtODJiMC00MjZjLWEyZjYtYWM5ZTc3MjYxMmU3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDE1MjAxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhM2M1NjZlNTk4ZjE3MzU3YjAzMTkwMzQ2ODgxYmI4NmJkOGU3ZTIxNzdjZWE4NWU5ZDM0MDYwM2MzOTU2YjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.aj1oFqZyzgKTxwNcVOCxvLR_rD832Gkm9gkyjHYc6Jg)

### Create

[](#create)

For creating a notification you should have the related permission. If you have the permission you can start to create a notification by clicking on the viewAll in the dropdown list of bell icon and then click on the plus(+) icon that is located on the corner side of your page. The first field shows to whom the notification will be sent. After filling required fields, you can click on the save button.

[![create](https://private-user-images.githubusercontent.com/91452487/257438890-94d1fa18-b50e-4364-ba65-46ec61ea7ed3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOi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LSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDE1MjAxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhNGMzODMzMDM0ZGZkNjg3NjJkODUzOTFhNGM2Y2JkMGFkYjg5YThlY2RiY2MzN2MyMTUzOWMyYmFmODE3Y2ImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.6i1ti3V0XiVa2Zw_5whROiuezB9L4mUaWzKAWr9vqMI)

### Update

[](#update)

For updating a notification you need to click on the pencil icon on the right side your notification as follows,

[![update_pen_icon](https://private-user-images.githubusercontent.com/91452487/257438805-ff8a1276-10d0-4a6c-a7e5-9a152fd5c1e9.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE1MzcxMTksIm5iZiI6MTc4MTUzNjgxOSwicGF0aCI6Ii85MTQ1MjQ4Ny8yNTc0Mzg4MDUtZmY4YTEyNzYtMTBkMC00YTZjLWE3ZTUtOWExNTJmZDVjMWU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDE1MjAxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZjZWM0MjMzZjlhOTgwMDYzYzMyZjc0ZjU1NDJiNDU0NzVhYmY3ZjJkMjdjMzEyZWVhOTJmM2UxZmE0ZTE5NGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.0AxfBT_We73PouXZwxl52o2AVb1JttZXKRoMQvIefLM)](https://private-user-images.githubusercontent.com/91452487/257438805-ff8a1276-10d0-4a6c-a7e5-9a152fd5c1e9.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE1MzcxMTksIm5iZiI6MTc4MTUzNjgxOSwicGF0aCI6Ii85MTQ1MjQ4Ny8yNTc0Mzg4MDUtZmY4YTEyNzYtMTBkMC00YTZjLWE3ZTUtOWExNTJmZDVjMWU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDE1MjAxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZjZWM0MjMzZjlhOTgwMDYzYzMyZjc0ZjU1NDJiNDU0NzVhYmY3ZjJkMjdjMzEyZWVhOTJmM2UxZmE0ZTE5NGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.0AxfBT_We73PouXZwxl52o2AVb1JttZXKRoMQvIefLM)

### Delete

[](#delete)

For deleting a notification, you should click on the trash icon which is located on the right side of your related notification row.

[![delete_trash](https://private-user-images.githubusercontent.com/91452487/257438668-69b02e06-0f47-4bc0-9455-7a7b9f72632d.png?jwt=eyJ0eXAiOiJ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C1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE1VDE1MjAxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg0MjZlNjhkZGJmYTA2Nzc2YjMxMzU1NzQwNmFjOGFiZDk1M2Q1MGZmMWRjNDIyODQ4OTNhZWM0Y2E4M2EzMDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.wz4t4tn4JmSSNV_uR3-x6LHU6GqNfVtd9ayW0Kpv_h8)

How to use or develop
---------------------

[](#how-to-use-or-develop)

You should add the following blocks of code into your composer.json file of your Portalium module.

to repositories part of your composer.json
`{ "type": "git", "url": "https://github.com/portalium/yii2-notification.git" }`

to require part of your composer.json
`"portalium/yii2-notification": "dev-develop",`

and in web\\config\\main.php path you should add the following block of code in module part
`{ "type": "git", "url": "https://github.com/portalium/yii2-notification.git" }`

and finally, you should run `composer update` command in the terminal of your php container in Docker.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance55

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor3

3 contributors hold 50%+ of commits

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11491768?v=4)[DigiNova](/maintainers/diginova)[@diginova](https://github.com/diginova)

---

Top Contributors

[![MHR41](https://avatars.githubusercontent.com/u/91452487?v=4)](https://github.com/MHR41 "MHR41 (36 commits)")[![demirmehmet0](https://avatars.githubusercontent.com/u/56119655?v=4)](https://github.com/demirmehmet0 "demirmehmet0 (25 commits)")[![uguryildiz](https://avatars.githubusercontent.com/u/180589?v=4)](https://github.com/uguryildiz "uguryildiz (25 commits)")[![aydogdu25](https://avatars.githubusercontent.com/u/121028208?v=4)](https://github.com/aydogdu25 "aydogdu25 (11 commits)")[![sudesuvar](https://avatars.githubusercontent.com/u/116346438?v=4)](https://github.com/sudesuvar "sudesuvar (9 commits)")[![irmakyuceak](https://avatars.githubusercontent.com/u/162887333?v=4)](https://github.com/irmakyuceak "irmakyuceak (9 commits)")[![mustafakahveci](https://avatars.githubusercontent.com/u/77697097?v=4)](https://github.com/mustafakahveci "mustafakahveci (8 commits)")[![ulkuiremdeniz](https://avatars.githubusercontent.com/u/129794760?v=4)](https://github.com/ulkuiremdeniz "ulkuiremdeniz (7 commits)")[![KerimDogan149](https://avatars.githubusercontent.com/u/170484272?v=4)](https://github.com/KerimDogan149 "KerimDogan149 (3 commits)")

### Embed Badge

![Health badge](/badges/portalium-yii2-notification/health.svg)

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

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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