New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

zoomyboy/better-notifications

A little enhancement to the normal Notifications Library of Laravel 5.4
35
Install
composer require zoomyboy/better-notifications
Latest Version:0.0.4
Last Updated:Mar 1, 2018
Links: GitHub  ·  Packagist
Maintainer: zoomyboy

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'.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

429,221,767 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

403,217,078 4,664

Version History

Version Released License
0.0.4
0.0.3
0.0.2
0.0.1