tweet9ra/logux-laravel

Laravel adator for tweet9ra/logux-php

5.0.2 2020-06-19 14:42 UTC

README

This package allows your Laravel application communicate with front-end via WebSockets through Logux proxy server

Quick start

  1. Install via composer composer require tweet9ra/logux-laravel
  2. Add tweet9ra\Logux\Laravel\LoguxServiceProvider to providers list in your app config file config/app.php
...
'providers' => [
    ...
     /*
     * Package Service Providers...
     */
    tweet9ra\Logux\Laravel\LoguxServiceProvider::class,
    ...
],
...
  1. Publish config and routes: php artisan vendor:publish --provider="tweet9ra\Logux\Laravel\LoguxServiceProvider"

Configure config/logux.php and routes/logux.php

#####Version compatibility with logux backend protocol:

Package version Logux backend protocol version
< 4.0.0 2
^4.0.0 3
^5.0.0 4