lab123 / lumen-notification
Wrapper of Laravel Notification adapted to work with Lumen 5.x
Installs: 49 331
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 4
Open Issues: 5
Requires
- php: >=5.6.4
- guzzlehttp/guzzle: ^6.2
- illuminate/mail: ^5.3
- illuminate/notifications: ^5.3
Requires (Dev)
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2024-11-09 20:39:37 UTC
README
This package is a wrapper of Laravel Notification adapted to work with Lumen 5.x
Contents
Installation
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
Usage
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
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Security
If you discover any security related issues, please email jean.pierre@lab123.com.br instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.