Attempting dependency fix

This commit is contained in:
Chris Boden 2012-04-18 21:48:21 -04:00
parent 6a44d8123a
commit 59823fc2de
3 changed files with 18 additions and 20 deletions

View File

@ -1,4 +1,4 @@
[![Build Status](https://secure.travis-ci.org/cboden/Ratchet.png)](http://travis-ci.org/cboden/Ratchet)
[![Build Status](https://secure.travis-ci.org/cboden/Ratchet.png?branch=master)](http://travis-ci.org/cboden/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.
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
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
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.
---

View File

@ -18,13 +18,20 @@
, "Ratchet": "src"
}
}
, "repositories": {
"guzzle": {
, "require": {
"php": ">=5.3.2"
, "guzzle/guzzle": "v2.0.2"
}
, "replace": {
"guzzle/guzzle": "v2.0.2"
}
, "repositories": [
{
"type": "package"
, "package": {
"name": "guzzle"
"name": "guzzle/guzzle"
, "type": "library"
, "version": "2.0.2"
, "version": "v2.0.2"
, "autoload": {
"psr-0": {
"Guzzle": "src"
@ -37,9 +44,5 @@
}
}
}
}
, "require": {
"php": ">=5.3.2"
, "guzzle": "2.0.2"
}
]
}

11
composer.lock generated
View File

@ -1,14 +1,9 @@
{
"hash": "b2332c240ecc001df7f0f0623491f8c3",
"hash": "3fb51c7b57fb058065e37de578901055",
"packages": [
{
"package": "guzzle",
"version": "2.0.2"
},
{
"package": "symfony/http-foundation",
"version": "dev-master",
"source-reference": "b9aceabb83f3d03fe451cdd867d987e863e7a25e"
"package": "guzzle/guzzle",
"version": "v2.0.2"
}
],
"packages-dev": null,