Laravel 5.3 Notification for Lumen 5.x
, (*1)
This package is a wrapper of Laravel Notification adapted to work with Lumen 5.x, (*2)
Contents
Installation
Can to install with commands:, (*3)
composer require lab123/lumen-notification
Or editing the composer.json file:, (*4)
"require": {
"lab123/lumen-notification": "dev-master"
}
Register the package in the section "Register Service Providers" in bootstrap/app.php, (*5)
$app->register(\LumenNotification\LumenNotificationServiceProvider::class);
To can use the views from Laravel Notifications, use the command wrapper from php artisan vendor:publish:, (*6)
php artisan lumen-notification:publish
Usage
After register the Service Provider the aplication can execute the commands:, (*7)
Equivalent to php artisan make:notification in Laravel 5.7, (*8)
php artisan lumen-notification:notification
Equivalent to php artisan vendor:publish in Laravel, (*9)
php artisan lumen-notification:publish
Equivalent to php artisan notifications:table in Laravel, (*10)
php artisan lumen-notification:table
Changelog
Please see CHANGELOG for more information what has changed recently., (*11)
Testing
bash
$ composer test, (*12)
Security
If you discover any security related issues, please email jean.pierre@lab123.com.br instead of using the issue tracker., (*13)
Contributing
Please see CONTRIBUTING for details., (*14)
Credits
License
The MIT License (MIT). Please see License File for more information., (*15)