2017 © Pedro Peláez
 

library faye-client

Php client for interacting with faye server

image

nc/faye-client

Php client for interacting with faye server

  • Tuesday, June 10, 2014
  • by nchaulet
  • Repository
  • 3 Watchers
  • 27 Stars
  • 57,491 Installations
  • PHP
  • 5 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 4 Versions
  • 7 % Grown

The README.md

Faye Client

Build Status, (*1)

PHP 5.3+ library to push message to a faye server., (*2)

http://faye.jcoglan.com/, (*3)

Instalation

via composer, (*4)

``` js { "require": { "nc/faye-client": "~1.0", # if you want to use guzzle adapter "guzzle/guzzle": "~3.0" } }, (*5)


## Usage ``` php $adapter = new \Nc\FayeClient\Adapter\CurlAdapter(); $client = new \Nc\FayeClient\Client($adapter, 'http://127.0.0.1/faye'); $client->send("/channel1", array("name" => "foo"), array("token" => "456454sdqd"));

Client Send method documentation

``` php /** * Send message * @param string $channel message channel * @param array $data Data to send * @param array $ext Extra data */ public function send($channel, $data = array(), $ext = array());, (*6)


## Adapter to post JSON * CurlAdapter : `Nc\FayeClient\Adapter\CurlAdapter` * GuzzleAdapter : `Nc\FayeClient\Adapter\GuzzleAdapter` ## Run test ``` bash php vendor/bin/atoum -D tests/ -bf tests/bootstrap.php

The Versions

10/06 2014

dev-master

9999999-dev

Php client for interacting with faye server

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar nchaulet

websocket faye

10/06 2014

v1.1.1

1.1.1.0

Php client for interacting with faye server

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar nchaulet

websocket faye

17/09 2013

v1.1.0

1.1.0.0

Php client for interacting with faye server

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar nchaulet

websocket faye

29/07 2013

v1.0.0

1.0.0.0

Php client for interacting with faye server

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar nchaulet

websocket faye