Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 4.26 KB

1-Installation-and-Setup.md

File metadata and controls

69 lines (52 loc) · 4.26 KB

1. Installation

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

Version Compatibility

LaravelMessenger Laravel
LaravelMessenger v8.x Laravel v7.x
LaravelMessenger v7.x Laravel v6.x
LaravelMessenger v6.x Laravel v5.8
LaravelMessenger v5.x Laravel v5.7
LaravelMessenger v4.x Laravel v5.6
LaravelMessenger v3.x Laravel v5.5
LaravelMessenger v2.x Laravel v5.4
LaravelMessenger v1.x Laravel v5.1 Laravel v5.2 Laravel v5.3

Composer

You can install this package via Composer by running this command: composer require arcanedev/laravel-messenger.

Laravel

Setup

NOTE : The package will automatically register itself if you're using Laravel >= v5.5, so you can skip this section.

Once the package is installed, you can register the service provider in config/app.php in the providers array:

// config/app.php

'providers' => [
    ...
    Arcanedev\LaravelMessenger\LaravelMessengerServiceProvider::class,
],

Artisan commands

To publish the config file, run this command:

php artisan vendor:publish --provider="Arcanedev\LaravelMessenger\LaravelMessengerServiceProvider"