Attempting dependency fix
This commit is contained in:
parent
6a44d8123a
commit
59823fc2de
@ -1,4 +1,4 @@
|
|||||||
[](http://travis-ci.org/cboden/Ratchet)
|
[](http://travis-ci.org/cboden/Ratchet)
|
||||||
|
|
||||||
#Ratchet
|
#Ratchet
|
||||||
|
|
||||||
@ -21,13 +21,13 @@ Note that you can not run two applications (Apache and Ratchet) on the same port
|
|||||||
Cookies from your domain will be passed to the socket server, allowing you to identify users.
|
Cookies from your domain will be passed to the socket server, allowing you to identify users.
|
||||||
Accessing your website's session data in Ratchet is a [feature in the works](https://github.com/cboden/Ratchet/tree/symfony/sessions).
|
Accessing your website's session data in Ratchet is a [feature in the works](https://github.com/cboden/Ratchet/tree/symfony/sessions).
|
||||||
|
|
||||||
See https://github.com/cboden/socket-demos for some out-of-the-box working demos using Ratchet.
|
See https://github.com/cboden/Ratchet-examples for some out-of-the-box working demos using Ratchet.
|
||||||
|
|
||||||
###Future considerations
|
###Future considerations
|
||||||
|
|
||||||
Ideally, soon, web servers will start supporting WebSockets to some capacity and PHP will no longer need to run its self from the command line.
|
Ideally, soon, web servers will start supporting WebSockets to some capacity and PHP will no longer need to run its self from the command line.
|
||||||
In theory, the server (like Nginx) would recognize the HTTP handshake request to upgrade the protocol to WebSockets and run/pass data through to a user
|
In theory, the server (like Nginx) would recognize the HTTP handshake request to upgrade the protocol to WebSockets and run/pass data through to a user
|
||||||
configured PHP file. When this happens, you can keep your script the same, just remove the Server Application wrapper and maybe eventually the
|
configured PHP file. When this happens, you can keep your script the same, just remove the IOServerComponent wrapper and maybe eventually the
|
||||||
WebSocket Application wrapper if the servers recognize the protocol message framing.
|
WebSocket Application wrapper if the servers recognize the protocol message framing.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -18,13 +18,20 @@
|
|||||||
, "Ratchet": "src"
|
, "Ratchet": "src"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
, "repositories": {
|
, "require": {
|
||||||
"guzzle": {
|
"php": ">=5.3.2"
|
||||||
|
, "guzzle/guzzle": "v2.0.2"
|
||||||
|
}
|
||||||
|
, "replace": {
|
||||||
|
"guzzle/guzzle": "v2.0.2"
|
||||||
|
}
|
||||||
|
, "repositories": [
|
||||||
|
{
|
||||||
"type": "package"
|
"type": "package"
|
||||||
, "package": {
|
, "package": {
|
||||||
"name": "guzzle"
|
"name": "guzzle/guzzle"
|
||||||
, "type": "library"
|
, "type": "library"
|
||||||
, "version": "2.0.2"
|
, "version": "v2.0.2"
|
||||||
, "autoload": {
|
, "autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
"Guzzle": "src"
|
"Guzzle": "src"
|
||||||
@ -37,9 +44,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
, "require": {
|
|
||||||
"php": ">=5.3.2"
|
|
||||||
, "guzzle": "2.0.2"
|
|
||||||
}
|
|
||||||
}
|
}
|
11
composer.lock
generated
11
composer.lock
generated
@ -1,14 +1,9 @@
|
|||||||
{
|
{
|
||||||
"hash": "b2332c240ecc001df7f0f0623491f8c3",
|
"hash": "3fb51c7b57fb058065e37de578901055",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"package": "guzzle",
|
"package": "guzzle/guzzle",
|
||||||
"version": "2.0.2"
|
"version": "v2.0.2"
|
||||||
},
|
|
||||||
{
|
|
||||||
"package": "symfony/http-foundation",
|
|
||||||
"version": "dev-master",
|
|
||||||
"source-reference": "b9aceabb83f3d03fe451cdd867d987e863e7a25e"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"packages-dev": null,
|
"packages-dev": null,
|
||||||
|
Loading…
Reference in New Issue
Block a user