lab123/lumen-notification

Laravel Notification 的包装,适用于 Lumen 5.x

0.1.0-beta.2 2019-02-01 02:03 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:53:12 UTC


README

Latest Version on Packagist Software License Build Status Quality Score Code Coverage Total Downloads

本包是 Laravel Notification 的包装,适用于 Lumen 5.x

内容

安装

可以使用命令安装

composer require lab123/lumen-notification

或者编辑 composer.json 文件

"require": {
	"lab123/lumen-notification": "dev-master"
}

bootstrap/app.php 中的 "注册服务提供者" 部分注册包

$app->register(\LumenNotification\LumenNotificationServiceProvider::class);

要使用 Laravel Notifications 的视图,请使用 php artisan vendor:publish 命令包装

php artisan lumen-notification:publish

使用

注册 Service Provider 后,应用程序可以执行命令

等同于 Laravel 5.7 中的 php artisan make:notification

php artisan lumen-notification:notification

等同于 Laravel 中的 php artisan vendor:publish

php artisan lumen-notification:publish

等同于 Laravel 中的 php artisan notifications:table

php artisan lumen-notification:table

有关如何使用 Notifications 的更多信息,请参阅 Laravel Notification

变更日志

请参阅 CHANGELOG 了解最近的变化。

测试

$ composer test

安全性

如果您发现任何与安全相关的问题,请通过电子邮件 jean.pierre@lab123.com.br 而不是使用问题跟踪器。

贡献

请参阅 CONTRIBUTING 了解详情。

致谢

许可证

MIT 许可证 (MIT)。有关更多信息,请参阅 许可证文件