Skip to content

Latest commit

 

History

History
88 lines (52 loc) · 2.85 KB

README.md

File metadata and controls

88 lines (52 loc) · 2.85 KB

Laravel 5.3 Notification for Lumen 5.x

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 [email protected] 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.