zoomyboy / better-notifications by zoomyboy

A little enhancement to the normal Notifications Library of Laravel 5.4
32
0
2
Package Data
Maintainer Username: zoomyboy
Maintainer Contact: pille@zoomyboy.de (Philipp Lang)
Package Create Date: 2017-08-07
Package Last Update: 2018-03-01
Language: PHP
License: Unknown
Last Refreshed: 2024-04-18 15:05:51
Package Statistics
Total Downloads: 32
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Installation

Add the ServiceProvider:

    // AppServiceProvider.php
    \Zoomyboy\BetterNotifications\ServiceProvider::class,

Change your Mail configuration to use the custom layouts:

    // config/mail.php
    
    'markdown' => [
        'theme' => 'custom',

        'paths' => [
            base_path('vendor/zoomyboy/better-notifications/src/resources'),
        ],
    ],

Publishing

If you want to override config and style of the E-Mails, you can publish the package files with:

php artisan vendor:publish --tag=better-notifications

This will create a config file '/config/better-notifications', where you can customize the package style easily. If you'd like to dig in deeper, you could also edit the template files located in '/resources/vendor/better-notifications'.