zoomyboy / better-notifications
此包的最新版本(0.0.4)没有提供许可证信息。
对Laravel 5.4的正常通知库的一些小增强
0.0.4
2018-03-01 15:01 UTC
This package is auto-updated.
Last update: 2024-09-04 08:55:15 UTC
README
添加ServiceProvider
// AppServiceProvider.php \Zoomyboy\BetterNotifications\ServiceProvider::class,
更改邮件配置以使用自定义布局
// config/mail.php 'markdown' => [ 'theme' => 'custom', 'paths' => [ base_path('vendor/zoomyboy/better-notifications/src/resources'), ], ],
发布
如果您想覆盖电子邮件的配置和样式,可以使用以下命令发布包文件:
php artisan vendor:publish --tag=better-notifications
这将在'/config/better-notifications'创建一个配置文件,您可以在其中轻松地自定义包的样式。如果您想深入研究,也可以编辑位于'/resources/vendor/better-notifications'的模板文件。