Download the PHP package ciptohadi-web-id/lumen-notifications without Composer
On this page you can find all versions of the php package ciptohadi-web-id/lumen-notifications. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ciptohadi-web-id/lumen-notifications
More information about ciptohadi-web-id/lumen-notifications
Files in ciptohadi-web-id/lumen-notifications
Package lumen-notifications
Short Description A useful wrapper around Laravel Notifications that support its artisan command
License MIT
Homepage https://github.com/ciptohadi-web-id/lumen-notifications
Informations about the package lumen-notifications
Laravel 5.5 Notification for Lumen 5.x
This package is a wrapper around Laravel Notifications package, that enable it to work with Lumen 5.x
Contents
- Installation
- Usage
- Changelog
- Testing
- Security
- Contributing
- Credits
- License
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
Security
If you discover any security related issues, please email me at [email protected]
instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
- Cipto Hadi
- Inspired by lab123it/lumen-notification
License
The MIT License (MIT). Please see License File for more information.
All versions of lumen-notifications with dependencies
illuminate/notifications Version ^5.5
illuminate/mail Version ^5.5
guzzlehttp/guzzle Version ^6.2