2017 © Pedro Peláez
 

package php_websocket_client

PHP WebSocket Client For Laravel.

image

andreibu/php_websocket_client

PHP WebSocket Client For Laravel.

  • Friday, March 24, 2017
  • by AndreiBu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 6 % Grown

The README.md

PHP WebSocket Client

Installation

composer require andreibu/php_websocket_client

Laravel 5

Setup

Add ServiceProvider to the providers array in config/app.php., (*1)


'providers' => [ ... AndreiBu\php_websocket_client\WSServiceProvider::class, ], 'aliases' => [ ... 'PHP_WS' => AndreiBu\php_websocket_client\Facades\PHP_WS::class, ],

Configuration

    host
    port
    path

Usage

send

use PHP_WS; PHP_WS::send(json_encode(array('type'=>'send_message_to','id'=>'1000001','msg'=>'laravel msg ')));

Contribute

https://github.com/AndreiBu/php_websocket_client/pulls, (*2)

The Versions

24/03 2017

dev-master

9999999-dev

PHP WebSocket Client For Laravel.

  Sources   Download

MIT

The Requires

  • php >=5.3.23

 

by Avatar AndreiBu

laravel php websocket laravel5

24/03 2017

0.2

0.2.0.0

PHP WebSocket Client For Laravel.

  Sources   Download

MIT

The Requires

  • php >=5.3.23

 

by Avatar AndreiBu

laravel php websocket laravel5

24/03 2017

0.0.1

0.0.1.0

PHP WebSocket Client For Laravel.

  Sources   Download

MIT

The Requires

  • php >=5.3.23

 

by Avatar AndreiBu

laravel php websocket laravel5

24/03 2017

0.1

0.1.0.0

PHP WebSocket Client For Laravel.

  Sources   Download

MIT

The Requires

  • php >=5.3.23

 

by Avatar AndreiBu

laravel php websocket laravel5