nti/notification-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

nti/notification-bundle

最新稳定版本:v1.1.4

Composer 安装命令:

composer require nti/notification-bundle

包简介

Symfony 2 notification bundle.

README 文档

README

This bundle provide capability to register and send notifications throw multiple applications.

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require nti/notification-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            new NTI\NotificationBundle\NotificationBundle(),
        );
    }
}

Step 3: Configuration

Fill the bundle configuration in the config.yml file.

nti_notification:
    user_destination_get_method: getEmail
    user_authentication_roles: [ROLE_USER]

The bundle use your User class entity as a notification destination so you can easily set your security authentication role and unique property get method that you want to use as destination identifier.

Documentation:

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-04-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固