https://github.com/mediumart/echo.io-php
php bindings for laravel and echo.io server
https://github.com/mediumart/echo.io-php
Last synced: over 1 year ago
JSON representation
php bindings for laravel and echo.io server
- Host: GitHub
- URL: https://github.com/mediumart/echo.io-php
- Owner: mediumart
- License: mit
- Created: 2017-10-22T09:39:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-05T18:42:25.000Z (almost 8 years ago)
- Last Synced: 2025-01-05T01:21:28.521Z (over 1 year ago)
- Language: PHP
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Echo.io-php (WIP)
## Installation (laravel 5.3+)
```
$ composer require mediumart/echo.io-php
```
Add the service provider, in `config/app.php`, to the `providers` array (only need for laravel versions prior to 5.5)
```php
Mediumart\Echoio\EchoioServiceProvider::class,
```
Then add a secret key for broadcasting, to `config/services.php`
```php
'broadcast' => [
'key' => '',
],
```
this can be any random string for now, but the exact same secret key should be configured on the [echo.io nodejs server](https://github.com/mediumart/echo.io) side.