Download the PHP package inpassor/yii2-realplexor without Composer
On this page you can find all versions of the php package inpassor/yii2-realplexor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download inpassor/yii2-realplexor
More information about inpassor/yii2-realplexor
Files in inpassor/yii2-realplexor
Package yii2-realplexor
Short Description Realplexor extension for the Yii 2 framework
License MIT
Informations about the package yii2-realplexor
Realplexor extension for the Yii 2 framework
Author: Inpassor [email protected]
GitHub repository: https://github.com/Inpassor/yii2-realplexor
This library implements Dklab_Realplexor PHP API.
Dklab_Realplexor is comet server which handles 1000000+ parallel browser connections.
Installation
1) Add package to your project using composer:
2) Add the realplexor application component to the console / web config in "components" section:
There are several parameters that available to configure:
| Parameter | Type | Description |
|---|---|---|
| host | string | The server host. Default: 127.0.0.1 |
| port | integer | The connection port. Default: 10010 |
| namespace | string | Namespace to use. Default: '' |
| login | string | Login for connection (if the server need it). Default: '' |
| password | string | Password for connection (if the server need it). Default: '' |
| timeout | integer | The connection timeout, in seconds. Default: 5 |
Usage
Use Realplexor transport as application component:
To get detailed information about properties and methods of the Realplexor application component, please read documentation for Realplexor PHP API.
Client-side
To implement Realplexor client-side use \inpassor\assets\JqueryRealplexor asset (it included in the dependancies for this package, so just use it), that refers to bower package inpassor-jquery-realplexor
All versions of yii2-realplexor with dependencies
yiisoft/yii2 Version *
inpassor/realplexor Version *
bower-asset/inpassor-jquery-realplexor Version *
inpassor/yii2-assets Version *