andreibu/php_websocket_client
PHP WebSocket Client For Laravel.
44
Larablocks Analysis
andreibu/php_websocket_client works with any PHP project: the latest release (0.2, Mar 24, 2017) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Mar 24, 2017)
- 0 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Mar 24, 2017.
- No releases in the last 12 months.
- First released: Mar 24, 2017.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require andreibu/php_websocket_client |
|
| Latest Version: | 0.2 |
| PHP: | >=5.3.23 |
| License: | MIT |
| Last Updated: | Mar 24, 2017 |
| Links: | GitHub · Packagist |
Maintainer: AndreiBu
PHP WebSocket Client
Installation
composer require andreibu/php_websocket_client
Laravel 5
Setup
Add ServiceProvider to the providers array in config/app.php.
'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
Related Packages
imanghafoori/laravel-terminator
A minimal yet powerful package to give you opportunity to refactor your controll...
55,071
253
valorin/random
Random is a simple helper package designed to make it easy to generate a range o...
479,812
234
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 0.2 | >=5.3.23 | MIT | |
| 0.1 | >=5.3.23 | MIT | |
| 0.0.1 | >=5.3.23 | MIT |