2.2 documentation

Notifier Component add a simplify approach to notifier the application user using mail (or other notification service) that is managed using Orchestra\Notifier\NotifierManager.

Table of Content

Version Compatibility

Laravel Notifier
4.1.x 2.1.x
4.2.x 2.2.x

Installation

To install through composer, simply put the following in your composer.json file:

{
    "require": {
        "orchestra/notifier": "2.2.*"
    }
}

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=2.2.*"

Configuration

Next add the service provider in app/config/app.php

'providers' => array(

    // ...

    'Orchestra\Notifier\NotifierServiceProvider',
),

Aliases

You might want to add Orchestra\Support\Facades\Notifier to class aliases in app/config/app.php:

'aliases' => array(

    // ...

    'Orchestra\Notifier' => 'Orchestra\Support\Facades\Notifier',
),