2017 © Pedro Peláez
 

library shover

A lightweight PHP interface for the Pusher API

image

tackk/shover

A lightweight PHP interface for the Pusher API

  • Thursday, May 14, 2015
  • by dhrrgn
  • Repository
  • 6 Watchers
  • 3 Stars
  • 157 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Shover

A lightweight PHP interface for the Pusher API., (*1)

Installation

Composer

"tackk/shover": "1.1.*"

Transports

All transports must extend the Tackk\Shover\Transport\AbstractTransport., (*2)

Two (2) transports are included by default:, (*3)

  • Tackk\Shover\Transport\Curl - Uses the PHP Curl extension.
  • Tackk\Shover\Transport\Guzzle - Uses Guzzle.

Curl

``` php <?php use Tackk\Shover\Credentials; use Tackk\Shover\Transport\Curl; use Tackk\Shover\Client;, (*4)

require 'vendor/autoload.php';, (*5)

$credentials = new Credentials('3', '278d425bdf160c739803', '7ad3773142a6692b25b8'); $transport = new Curl($credentials); $client = new Client($transport);, (*6)

$client->trigger('test_channel', 'send', ['message' => 'test']);, (*7)


### Guzzle **Note: You must have Guzzle installed.** ``` php <?php use Tackk\Shover\Credentials; use Tackk\Shover\Transport\Guzzle; use Tackk\Shover\Client; require 'vendor/autoload.php'; $credentials = new Credentials('3', '278d425bdf160c739803', '7ad3773142a6692b25b8'); $transport = new Guzzle($credentials); $client = new Client($transport); $client->trigger('test_channel', 'send', ['message' => 'test']);

The Versions

14/05 2015

dev-master

9999999-dev

A lightweight PHP interface for the Pusher API

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

14/05 2015

v1.1.2

1.1.2.0

A lightweight PHP interface for the Pusher API

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

16/01 2015

v1.1.1

1.1.1.0

A lightweight PHP interface for the Pusher API

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

16/01 2015

v1.1.0

1.1.0.0

A lightweight PHP interface for the Pusher API

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires

28/02 2014

v1.0.0

1.0.0.0

A lightweight PHP interface for the Pusher API

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-curl *

 

The Development Requires