If you'll be running the website IRC chat demo make sure to run composer with dev mode:
composer.phar install --dev
Run scripts in here to launch you socket server.
PSR classes. These are the logic of applications. The Tutorial folder contains example applications found on http://socketo.me and the Cookbook has useful middleware classes (such as a logger).
Ratchet Examples comes with a lot of composer dependencies. Here is a list of what each one's purpose is:
A Flash polyfill for WebSockets. Drop this in and if WebSockets aren't supported by the user's browser this library uses Flash to make the browser talk with your Ratchet app. Make sure, if using this library, to run a second Ratchet application using the FlashPolicyComponent. Flash Sockets, before communicating in WebSockets, need pre-authorization.
Monolog is an feature rich, abstract logging library for PHP. It is used in one of the Cookbook source code examples.
Guzzle is a PHP library meant for abstracting cURL calls and working with RESTful APIs...Ratchet requires Guzzle to act as its HTTP server!
Build your PHP WebSocket library!