Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 2.09 KB

1-Installation-and-Setup.md

File metadata and controls

57 lines (38 loc) · 2.09 KB

1. Installation

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage

Server Requirements

The Laravel Messenger package has a few system requirements:

- PHP >= 5.6.4

Version Compatibility

LaravelMessenger Laravel
LaravelMessenger v1.x Laravel v5.1 Laravel v5.2 Laravel v5.3
LaravelMessenger v2.x Laravel v5.4

Composer

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

Laravel

Setup

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"