定制 portalium/yii2-notification 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

portalium/yii2-notification

Composer 安装命令:

composer require portalium/yii2-notification

包简介

Module notification for Portalium

README 文档

README

Table of Contents

Introduction

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

Requirements

PHP 7.3.31 or higher

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

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


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

notification_dropdown


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

Update

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

update_pen_icon

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


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.

统计信息

  • 总下载量: 35
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-07