https://github.com/lab123it/lumen-notification
This package is a wrapper of Laravel Notification adapted to work with Lumen 5.x
https://github.com/lab123it/lumen-notification
laravel-notifications lumen-notification packagist php-artisan
Last synced: 5 months ago
JSON representation
This package is a wrapper of Laravel Notification adapted to work with Lumen 5.x
- Host: GitHub
- URL: https://github.com/lab123it/lumen-notification
- Owner: lab123it
- License: mit
- Created: 2016-11-19T22:39:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-01T02:04:28.000Z (over 7 years ago)
- Last Synced: 2025-10-04T15:43:03.234Z (8 months ago)
- Topics: laravel-notifications, lumen-notification, packagist, php-artisan
- Language: PHP
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel 5.3 Notification for Lumen 5.x #
[](https://packagist.org/packages/lab123/lumen-notification)
[](LICENSE.md)
[](https://travis-ci.org/lab123/lumen-notification)
[](https://scrutinizer-ci.com/g/lab123/lumen-notification)
[](https://scrutinizer-ci.com/g/lab123/lumen-notification/?branch=master)
[](https://packagist.org/packages/lab123/lumen-notification)
This package is a wrapper of [Laravel Notification](https://laravel.com/docs/5.3/notifications) adapted to work with Lumen 5.x
## Contents
- [Installation](#installation)
- [Usage](#usage)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)
## 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](https://laravel.com/docs/5.3/notifications) ###
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Testing
``` bash
$ 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](CONTRIBUTING.md) for details.
## Credits
- [Jean Pierre](https://github.com/jeanpfs)
- [Felipe Santos](https://github.com/felipeds2)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.