Download the PHP package cboden/ratchet without Composer
On this page you can find all versions of the php package cboden/ratchet. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cboden/ratchet
More information about cboden/ratchet
Files in cboden/ratchet
Package ratchet
Short Description PHP WebSocket library
License MIT
Homepage http://socketo.me
Rated 1.75 based on 67 reviews
Informations about the package ratchet
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.
Reviving Ratchet!
We're currently aiming to revive Ratchet to get it up to date with the latest versions and use this as a starting point for bigger updates to come. We need your help to achieve this goal, see ticket #1054 for ways to help out. ❤️
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.
Documentation
User and API documentation is available on Ratchet's website: http://socketo.me
See https://github.com/cboden/Ratchet-examples 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.
A quick example
$ php chat.php
Install
The recommended way to install this library is through Composer. New to Composer?
This will install the latest supported version:
See also the CHANGELOG for details about version upgrades.
This project aims to run on any platform and thus does not require any PHP extensions and supports running on legacy PHP 5.4 through current PHP 8+. It's highly recommended to use the latest supported PHP version for this project.
See above note about Reviving Ratchet for newer PHP support.
License
MIT, see LICENSE file.
All versions of ratchet with dependencies
ratchet/rfc6455 Version ^0.3.1
react/socket Version ^1.0 || ^0.8 || ^0.7 || ^0.6 || ^0.5
react/event-loop Version >=0.4
guzzlehttp/psr7 Version ^1.7|^2.0
symfony/http-foundation Version ^2.6|^3.0|^4.0|^5.0|^6.0
symfony/routing Version ^2.6|^3.0|^4.0|^5.0|^6.0