Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 2.57 KB

1-Installation-and-Setup.md

File metadata and controls

62 lines (42 loc) · 2.57 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 >= 7.0

Version Compatibility

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

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"