Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 982 Bytes

2-Configuration.md

File metadata and controls

42 lines (29 loc) · 982 Bytes

2. Configuration

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

After you've published the config file config/notify.php, you can customize the settings :

<?php

return [

    /* -----------------------------------------------------------------
     |  Default Store
     | -----------------------------------------------------------------
     */

    'default' => 'session',

    /* -----------------------------------------------------------------
     |  Supported Stores
     | -----------------------------------------------------------------
     */

    'stores'  => [

        'session' => [
            'class'   => Arcanedev\Notify\Stores\SessionStore::class,
            'options' => [
                'key' => 'notifications'
            ],
        ],

    ],

];

You can create you own store like database or redis store for your notifications.