2017 © Pedro Peláez
 

library pusherer

Pusher.com service provider for Laravel 4.

image

artdarek/pusherer

Pusher.com service provider for Laravel 4.

  • Monday, October 26, 2015
  • by Artdarek
  • Repository
  • 2 Watchers
  • 49 Stars
  • 71,316 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 15 Forks
  • 6 Open issues
  • 4 Versions
  • 3 % Grown

The README.md

Pusherer - Laravel 4 Service Provider

Pusherer is a simple Pusher.com service provider for Laravel 4. Pusher (Documentation) is a simple hosted API for adding realtime bi-directional functionality via WebSockets to web and mobile apps, or any other Internet connected device., (*1)


Installation

Add Pusherer to your composer.json file:, (*2)

"require": {
    "artdarek/pusherer": "1.0.*"
}

Use composer to install this package., (*3)

$ composer update

Registering the Package

Add the Pusherer Service Provider to your config in app/config/app.php:, (*4)

'providers' => array(
    'Artdarek\Pusherer\PushererServiceProvider'
),

Configuration

Run on the command line from the root of your project:, (*5)

$ php artisan config:publish artdarek/pusherer

Set your pusher.com credentials in app/config/packages/artdarek/pusherer/config.php, (*6)

return array( 

    /**
     * App id
     */
    'app_id' => '', 

    /**
     * App key
     */
    'key' => '',

    /**
     * App Secret
     */
    'secret' => ''  

);

If you have not a Pusher account, just sign up to get your API key, App Id and Secret., (*7)

Usage

/**
 * Add notification
 *
 * @return Void
 */
public function index() {

    // Send notification to Pusher
    $message = "This is just an example message!";
    Pusherer::trigger('my-channel', 'my-event', array( 'message' => $message ));

}

The Versions

26/10 2015

dev-master

9999999-dev https://github.com/artdarek/pusherer

Pusher.com service provider for Laravel 4.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Artdarek

laravel laravel 4 realtime laravel4 notifications pusher pusher.com

26/10 2015

1.0.2

1.0.2.0 https://github.com/artdarek/pusherer

Pusher.com service provider for Laravel 4.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Artdarek

laravel laravel 4 realtime laravel4 notifications pusher pusher.com

08/08 2014

1.0.1

1.0.1.0 https://github.com/artdarek/pusherer

Pusher.com service provider for Laravel 4.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Artdarek

laravel laravel4 notifications pusher pusher.com

11/09 2013

1.0.0

1.0.0.0 https://github.com/artdarek/pusherer

Pusher.com service provider for Laravel 4.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar Artdarek

laravel laravel4 notifications pusher pusher.com