PHPackages                             ekstazi/reamp - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. ekstazi/reamp

ActiveLibrary[HTTP &amp; Networking](/categories/http)

ekstazi/reamp
=============

PHP WebSocket library

v0.1(8y ago)0302[5 issues](https://github.com/Ekstazi/ReAmp/issues)MITPHPPHP &gt;=7.0

Since Jul 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Ekstazi/ReAmp)[ Packagist](https://packagist.org/packages/ekstazi/reamp)[ Docs](http://socketo.me)[ RSS](/packages/ekstazi-reamp/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (7)Versions (19)Used By (0)

ReAmp
=====

[](#reamp)

What is ReAmp ? It is port of RatchEt to amphp/amp. It was created as fork of original project but add some new features:

- Use different namespace
- Use amphp by default
- Php7 support
- Phpunit 6
- Code style

There still lack of features but will be done in future:

- http request body support (post/put/create)
- http request pipeline support
- psr logging support
- better parsing similar to amp/aerys style
- support async and promises in components

Because code base is similar to Ratchet documentation can be found on original site.

Ratchet
=======

[](#ratchet)

[![Build Status](https://camo.githubusercontent.com/a7bf7caaf5c1eed0516be07a8dc1c4d371d0788d7b9538eb4114e8b0c193410d/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f726174636865747068702f526174636865742e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/ratchetphp/Ratchet)[![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#serverconfiguration).

### 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)

```
