Skip to content

Commit 43f33df

Browse files
authored
Merge pull request #7 from Askedio/5.3-dev
Support for 5.3
2 parents 7b1d419 + 6065748 commit 43f33df

File tree

7 files changed

+330
-349
lines changed

7 files changed

+330
-349
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class RatchetServer extends RatchetServer
7474
~~~
7575
You'll need to change the class to in your command line or config.
7676
~~~
77-
php artisan ratchet:serve --driver=IoServer --class="App\RatchetServer:"
77+
php artisan ratchet:serve --driver=IoServer --class="App\RatchetServer::class"
7878
~~~
7979

8080
# Command Line
@@ -93,15 +93,15 @@ Options:
9393
--host[=HOST] Ratchet server host [default: "0.0.0.0"]
9494
-p, --port[=PORT] Ratchet server port [default: "9090"]
9595
--class[=CLASS] Class that implements MessageComponentInterface. [default: "Askedio\LaravelRatchet\RatchetServerExample"]
96-
--driver[=DRIVER] Ratchet connection driver [IoServer|WsServer] [default: "IoServer"]
96+
--driver[=DRIVER] Ratchet connection driver [IoServer|WsServer|WampServer] [default: "WampServer"]
9797
...
9898
~~~
9999

100100

101101
# Configuration
102102
There are several configuration values that you will want to change. Publish the configuration then you can edit `config/ratchet.php`.
103103
~~~
104-
php artisan vendor:publish --class="\Askedio\LaravelRatchet\Providers\LaravelRatchetServiceProvider::class"
104+
php artisan vendor:publish
105105
~~~
106106
### Configuration Options
107107
* **class**: Your MessageComponentInterface or WampServerInterface class.

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
"type": "library",
77
"require": {
88
"php": ">=5.5.9",
9-
"laravel/framework": "5.2.*",
10-
"cboden/ratchet": "^0.3.4",
9+
"ext-zmq": "*",
10+
"laravel/framework": "5.*",
11+
"cboden/ratchet": "^0.3",
1112
"graham-campbell/throttle": "^5.2",
1213
"react/zmq": "0.2.*|0.3.*"
1314
},

0 commit comments

Comments
 (0)