ciptohadi-web-id/lumen-notifications

A useful wrapper around Laravel Notifications that support its artisan command
1,412 6
Install
composer require ciptohadi-web-id/lumen-notifications
Latest Version:v0.0.1-alpha.1
PHP:>=5.6.4
License:MIT
Last Updated:Jan 4, 2018
Links: GitHub  ·  Packagist
Maintainer: ciptohadi

Laravel 5.5 Notification for Lumen 5.x

Software License GitHub forks GitHub stars

Latest version Total Downloads

Twitter

This package is a wrapper around Laravel Notifications package, that enable it to work with Lumen 5.x

Contents

Installation

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);

Usage

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

More information on how to use Laravel Notifications, we can consult wonderful Laravel documentation: Laravel Notifications

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Security

If you discover any security related issues, please email me at ciptohadi79@gmail.com 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.

Related Packages

pewe/laravel-rajaongkir

A wrapper for Raja Ongkir API

188 0
autofactor/sns-laravel

A library to enable sending and receiving broadcasts to and from SNS topics in L...

55 0
lab123/lumen-notification

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

50,822 2
pewe/lumen-kredivo

Kredivo Payment Gateway API Wrapper built for lumen

11,919 1
anik/mercure

dunglas/mercure publisher implementation for any PHP-based application. Publish...

28 8