This package is a wrapper of Laravel Notification adapted to work with Lumen 5.x
Can to install with commands:
composer require lab123/lumen-notification
Or editing the composer.json
file:
"require": {
"lab123/lumen-notification": "dev-master"
}
Register the package in the section "Register Service Providers" in bootstrap/app.php
$app->register(\LumenNotification\LumenNotificationServiceProvider::class);
To can use the views from Laravel Notifications, use the command wrapper from php artisan vendor:publish:
php artisan lumen-notification:publish
After register the Service Provider the aplication can execute the commands:
Equivalent to php artisan make:notification in Laravel 5.7
php artisan lumen-notification:notification
Equivalent to php artisan vendor:publish in Laravel
php artisan lumen-notification:publish
Equivalent to php artisan notifications:table in Laravel
php artisan lumen-notification:table
To more information how to use Notifications: Laravel Notification
Please see CHANGELOG for more information what has changed recently.
$ composer test
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.