Notifier Component
Notifier Component add a simplify approach to notifier the application user using mail (or other notification service) that is managed using Orchestra\Notifier\NotifierManager
.
Version Compatibility
Laravel | Notifier |
---|---|
4.1.x | 2.1.x |
4.2.x | 2.2.x |
5.0.x | 3.0.x |
Installation
To install through composer, simply put the following in your composer.json
file:
{
"require": {
"orchestra/notifier": "~3.0"
}
}
And then run composer install
from the terminal.
Quick Installation
Above installation can also be simplify by using the following command:
composer require "orchestra/notifier=~3.0"
Configuration
Next add the service provider in config/app.php
'providers' => [
// ...
'Orchestra\Notifier\NotifierServiceProvider',
],
Aliases
You might want to add Orchestra\Support\Facades\Notifier
to class aliases in config/app.php
:
'aliases' => [
// ...
'Notifier' => 'Orchestra\Support\Facades\Notifier',
],