To install Ratchet, add the following line to the "require"
section of the composer.json
file found in the root of your Elefant site:
"cboden/Ratchet": "0.2.*"
The section should look like this:
"require": {
"php": ">=5.3.2",
"cboden/Ratchet": "0.2.*"
}