Download the PHP package lowerpower/bolt without Composer
On this page you can find all versions of the php package lowerpower/bolt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lowerpower/bolt
More information about lowerpower/bolt
Files in lowerpower/bolt
Package bolt
Short Description Asynchronous WebSocket client built on ReactPHP
License MIT
Informations about the package bolt
bolt
Asynchronous WebSocket client client library for PHP. Supports HyBi, as well as Hixie #76 (no point).
This was built purely to be a client, as the majority of the WS clients available also contain servers and are very bloated.
This is not the original version, this has been updated to use latest reactphp and the API has been modified to be more consistant with modern reactphp.
Installation
Using composer:
"require": {
"lowerpower/bolt": "^0.2"
}
Usage
Since this really lends itself to being an asynchronous app, it is built to use the React event loops and resolver since there's a good chance they'll be in your project already and this lets you attach to the same loop.
Other available events are , , ,
HTTP basic auth is also supported via the URI inf the form
Any feedback is most welcome
All versions of bolt with dependencies
react/promise Version ^2.5
react/socket Version ^0.8
react/datagram Version ^1.1
react/http-client Version ^0.5
react/http Version ^0.7.2
react/promise-timer Version ^1.2
react/dns Version ^0.4.11
clue/block-react Version ^1.2
react/child-process Version ^0.5.0