A useful wrapper around Laravel Notifications that support its artisan command
ciptohadi-web-id/lumen-notifications is a Laravel package for a useful wrapper around laravel notifications that support its artisan command.
It currently has 6 GitHub stars and 1.412 downloads on Packagist (latest version v0.0.1-alpha.1).
Install it with composer require ciptohadi-web-id/lumen-notifications.
Discover more Laravel packages by ciptohadi-web-id
or browse all Laravel packages to compare alternatives.
Last updated
This package is a wrapper around Laravel Notifications package, that enable it to work with Lumen 5.x
To install the packge, we can run below command in terminal:
composer require ciptohadi-web-id/lumen-notifications
After that, we should register the package in the section "Register Service Providers" in bootstrap/app.php
$app->register(\ciptohadi\LumenNotifications\LumenNotificationsServiceProvider::class);
After registering the Service Provider, we will have access to three new artisan commands, as shown below:
To create a new notification, we run below command:
php artisan make:notification [notification-name]
To create database migration for notifications, we run below command
php artisan notifications:table
To use the views from Laravel Notifications, we run below command:
php artisan lumen-notifications:publish
Please see CHANGELOG for more information what has changed recently.
$ composer test
If you discover any security related issues, please email me at [email protected] instead of using the issue tracker.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.