2017 © Pedro Peláez
 

yii2-extension yii2-realplexor

Realplexor extension for the Yii 2 framework

image

inpassor/yii2-realplexor

Realplexor extension for the Yii 2 framework

  • Tuesday, February 7, 2017
  • by Inpassor
  • Repository
  • 1 Watchers
  • 1 Stars
  • 64 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 12 % Grown

The README.md

Realplexor extension for the Yii 2 framework

Latest Stable Version Total Downloads License, (*1)

Author: Inpassor inpassor@yandex.com, (*2)

GitHub repository: https://github.com/Inpassor/yii2-realplexor, (*3)

This library implements Dklab_Realplexor PHP API., (*4)

Dklab_Realplexor is comet server which handles 1000000+ parallel browser connections., (*5)

Installation

1) Add package to your project using composer:, (*6)

composer require inpassor/yii2-realplexor

2) Add the realplexor application component to the console / web config in "components" section:, (*7)

    'components' => [
        ...
        'realplexor' => [
            'class' => 'inpassor\realplexor\Realplexor',
        ],
    ],

There are several parameters that available to configure:, (*8)

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:, (*9)

Yii::$app->realplexor

To get detailed information about properties and methods of the Realplexor application component, please read documentation for Realplexor PHP API., (*10)

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, (*11)

The Versions

07/02 2017

dev-master

9999999-dev

Realplexor extension for the Yii 2 framework

  Sources   Download

MIT

The Requires

 

by Avatar Inpassor

yii2 long polling comet realplexor dklab_realplexor

07/02 2017

0.1.4

0.1.4.0

Realplexor extension for the Yii 2 framework

  Sources   Download

MIT

The Requires

 

by Avatar Inpassor

yii2 long polling comet realplexor dklab_realplexor

18/10 2016

0.1.3

0.1.3.0

Realplexor extension for the Yii 2 framework

  Sources   Download

MIT

The Requires

 

by Avatar Inpassor

yii2 long polling comet realplexor dklab_realplexor

13/10 2016

0.1.2

0.1.2.0

Realplexor extension for the Yii 2 framework

  Sources   Download

MIT

The Requires

 

by Avatar Inpassor

yii2 long polling comet realplexor dklab_realplexor