定制 brkfun/notification-options 二次开发

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

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

brkfun/notification-options

Composer 安装命令:

composer require brkfun/notification-options

包简介

Make a sense to notification options

README 文档

README

Latest Version on Packagist Build Status Quality Score Total Downloads

Installation

You can install the package via composer:

composer require brkfun/notification-options

You can also drop the config and needed files :

php artisan vendor:publish --provider="BRKFun\\NotificationOptions\\NotificationOptionsServiceProvider" 

Usage

Go to your notifiable model and add a trait

namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use BRKFun\NotificationOptions\Traits\HasNotificationOptions;

class User extends Authenticatable 
{
use HasNotificationOptions;
}

Whenever you call anything starts with wants ie.

$user = User::first();
return $user->wantsMailNotification;

it will turn you the setting for user. If there isn't any settings in for user, it will create a new setting value to database

Todo List

1. create a router and methods for subscribe and unsubscribe stuff.
2. create facade for faster usage.

Testing

No testing developed yet.

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues just drop an issue.

Credits

License

The The Unlicense. Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-09-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固