PHPackages                             jupitern/ratchet - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jupitern/ratchet

ActiveLibrary

jupitern/ratchet
================

PHP WebSocket library

014PHP

Since Mar 30Pushed 3y agoCompare

[ Source](https://github.com/jupitern/Ratchet)[ Packagist](https://packagist.org/packages/jupitern/ratchet)[ RSS](/packages/jupitern-ratchet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

Ratchet
=======

[](#ratchet)

[![GitHub Actions](https://github.com/ratchetphp/Ratchet/workflows/CI/badge.svg)](https://github.com/ratchetphp/Ratchet/actions?query=workflow%3A%22CI%22+branch%3Amaster)[![Autobahn Testsuite](https://camo.githubusercontent.com/9ee59f03c0e8b8f9145a005f06327fb29e18f8b9a841478457b2fdb468ca365f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4175746f6261686e2d70617373696e672d627269676874677265656e2e737667)](http://socketo.me/reports/ab/index.html)[![Latest Stable Version](https://camo.githubusercontent.com/ef5a63a5f45e3697fb6369d641dfbe2e2288fe6752ec3e95118fa6d838d89640/68747470733a2f2f706f7365722e707567782e6f72672f63626f64656e2f726174636865742f762f737461626c652e706e67)](https://packagist.org/packages/cboden/ratchet)

A PHP library for asynchronously serving WebSockets. Build up your application through simple interfaces and re-use your application without changing any of its code just by combining different components.

Requirements
------------

[](#requirements)

Shell access is required and root access is recommended. To avoid proxy/firewall blockage it's recommended WebSockets are requested on port 80 or 443 (SSL), which requires root access. In order to do this, along with your sync web stack, you can either use a reverse proxy or two separate machines. You can find more details in the [server conf docs](http://socketo.me/docs/deploy#server_configuration).

### Documentation

[](#documentation)

User and API documentation is available on Ratchet's website:

See  for some out-of-the-box working demos using Ratchet.

Need help? Have a question? Want to provide feedback? Write a message on the [Google Groups Mailing List](https://groups.google.com/forum/#!forum/ratchet-php).

---

### A quick example

[](#a-quick-example)

```
