lab123/lumen-notification

Wrapper of Laravel Notification adapted to work with Lumen 5.x

0.1.0-beta.2 2019-02-01 02:03 UTC

This package is not auto-updated.

Last update: 2024-04-13 17:30:08 UTC


README

Latest Version on Packagist Software License Build Status Quality Score Code Coverage Total Downloads

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.