2017 © Pedro Peláez
 

library nginx_push_stream_bundle

image

alawar/nginx_push_stream_bundle

  • Wednesday, March 9, 2016
  • by AlexeyKupershtokh
  • Repository
  • 1 Watchers
  • 2 Stars
  • 669 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 5 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status HHVM Status Coverage Status Scrutinizer Quality Score Dependency Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

nginx_push_stream_bundle

A PHP bundle to assist your nginx_push_stream_module installation: 1. Generate links on server side. 2. Publish messages. 3. Automatically generate ids for messages on server side. 4. Filter tokens: 1. Hash token names in order to make them unpredictable and thus more secure. 2. Prefix tokens to separate your applications sharing the same nginx_push_stream_module locations., (*2)

Installation

composer require alawar/nginx_push_stream_bundle dev-master, (*3)

Usage

In Symfony2 you should register the bundle. Then add the following config:, (*4)

nginx_push_stream:
  pub_url: http://.../pub?id={token}
  sub_urls:
    polling:      http://.../sub-p/{tokens}
    long-polling: http://.../sub-lp/{tokens}
    streaming:    http://.../sub-s/{tokens}
    eventsource:  http://.../sub-ev/{tokens}

The Versions

09/03 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alexey Kupershtokh

14/09 2015

dev-guzzle

dev-guzzle

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alexey Kupershtokh