lab123it / lumen-notification by jeanpfs

Wrapper of Laravel Notification adapted to work with Lumen 5.x
48,425
2
3
Package Data
Maintainer Username: jeanpfs
Maintainer Contact: jean.pierre@lab123.com.br (Jean Pierre)
Package Create Date: 2016-11-19
Package Last Update: 2019-02-01
Language: PHP
License: MIT
Last Refreshed: 2024-04-19 15:05:01
Package Statistics
Total Downloads: 48,425
Monthly Downloads: 117
Daily Downloads: 1
Total Stars: 2
Total Watchers: 3
Total Forks: 4
Total Open Issues: 5

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 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.