Ratchet is a loosely coupled PHP library providing developers with tools to create real time, bi-directional applications between clients and servers over WebSockets. This is not your Grandfather's Internet.

Fast & Easy Write your own chat (aka "Hello World!" for sockets) application in a matter of minutes. After understanding "the new flow" - event driven programming, compared to traditional HTTP request/response - writing any application on top of Ratchet becomes fast and easy. Begin tutorial »

Components Ratchet provides many components for you to pick and choose from to easily add functionality. The component architecture allows you to focus on functionality with the ability to reuse and add or remove other component functionality. Understand the design »