Download the PHP package padosoft/laravel-notification without Composer
On this page you can find all versions of the php package padosoft/laravel-notification. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-notification
Laravel Notification
System for managing Laravel Notifications via database.
Installation
This package can be used in Laravel 5.8 or higher. For previous version or Laravel please check v 1. of this package NB: From version 4.0.0 of this package Nexmo/Vonage and Slack Notification is not automatically supported.* To send Notifications via SMS or Slack see official Laravel documentation
composer require padosoft/laravel-notification
- Publish the config file by running
php artisan vendor:publish --provider="Padosoft\Laravel\Notification\NotificationServiceProvider" --tag="migrations"
.
Config
If you want you can publish also the config of the package
Publish the config file by running php artisan vendor:publish --provider="Padosoft\Laravel\Notification\NotificationServiceProvider" --tag="config"
.
Usage
You can generate a Notification Class with an artisan command and register it into database.
This command will create an App\Notifications\user_is_registered class. Now you can customize your notification. To enable the notifications you can put to 1 the active field on the database. To set the recipients of your notification you have to populate mynotifications_users and mynotifications_roles table. Then you can send your notification like this:
Contact
Open an issue on GitHub if you have any problems or suggestions.
License
The contents of this repository is released under the MIT license.
All versions of laravel-notification with dependencies
laravel/framework Version ^5.8|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
padosoft/laravel-permission-extended Version ^1.0|^2.2|^3.0
padosoft/laravel-activitylog-extended Version ^2.0