定制 ciptohadi-web-id/lumen-notifications 二次开发

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

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

ciptohadi-web-id/lumen-notifications

最新稳定版本:v0.0.1-alpha.1

Composer 安装命令:

composer require ciptohadi-web-id/lumen-notifications

包简介

A useful wrapper around Laravel Notifications that support its artisan command

README 文档

README

Software License GitHub forks GitHub stars

Latest version Total Downloads

Twitter

This package is a wrapper around Laravel Notifications package, that enable it to work with Lumen 5.x

Contents

Installation

To install the packge, we can run below command in terminal:

composer require ciptohadi-web-id/lumen-notifications

After that, we should register the package in the section "Register Service Providers" in bootstrap/app.php

$app->register(\ciptohadi\LumenNotifications\LumenNotificationsServiceProvider::class);

Usage

After registering the Service Provider, we will have access to three new artisan commands, as shown below:

To create a new notification, we run below command:

php artisan make:notification [notification-name]

To create database migration for notifications, we run below command

php artisan notifications:table

To use the views from Laravel Notifications, we run below command:

php artisan lumen-notifications:publish

More information on how to use Laravel Notifications, we can consult wonderful Laravel documentation: Laravel Notifications

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Security

If you discover any security related issues, please email me at ciptohadi79@gmail.com instead of using the issue tracker.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

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