2017 © Pedro Pelรกez
 

library pubnub

Broadcast events with PubNub in your Laravel project

image

nodes/pubnub

Broadcast events with PubNub in your Laravel project

  • Thursday, February 16, 2017
  • by nodes
  • Repository
  • 2 Watchers
  • 3 Stars
  • 1,577 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

PubNub

โš ๏ธThis package is deprecatedโš ๏ธ, (*1)

Broadcast events with PubNub from your application, (*2)

Total downloads Monthly downloads Latest release Open issues License Star repository on GitHub Watch repository on GitHub Fork repository on GitHub, (*3)

๐Ÿ“ Introduction

Integrates the PubNub service, which makes it unbelieable easy to send broadcast events from your application., (*4)

๐Ÿ“ฆ Installation

To install this package you will need:, (*5)

  • Laravel 5.1+
  • PHP 5.5.9+

You must then modify your composer.json file and run composer update to include the latest version of the package in your project., (*6)

"require": {
    "nodes/pubnub": "^1.0"
}

Or you can run the composer require command from your terminal., (*7)

composer require nodes/pubnub:^1.0

๐Ÿ”ง Setup

Setup service provider in config/app.php, (*8)

Nodes\Services\Pubnub\ServiceProvider::class

Setup alias in config/app.php, (*9)

'Pubnub' => Nodes\Services\Pubnub\Support\Facades\Pubnub::class

Publish config files, (*10)

php artisan vendor:publish --provider="Nodes\Services\Pubnub\ServiceProvider"

If you want to overwrite any existing config files use the --force parameter, (*11)

php artisan vendor:publish --provider="Nodes\Services\Pubnub\ServiceProvider" --force

โš™ Usage

Open the config/broadcasing.php file and the following array to the array of connections:, (*12)

'pubnub' => [
    'driver' => 'pubnub',
    'publish_key' => config('nodes.services.pubnub.credentials.publish_key'),
    'subscribe_key' => config('nodes.services.pubnub.credentials.subscribe_key')
],

Add your PubNub application credentials to your .env file:, (*13)

BROADCAST_DRIVER=pubnub

PUBNUB_PUBLISH_KEY=YOUR-PUBLISH-KEY
PUBNUB_SUBSCRIBE_KEY=YOUR-SUBSCRIBE-KEY
PUBNUB_SECRET_KEY=YOUR-SECRET-KEY

That's it! All your events will now be broadcasted through PubNub., (*14)

๐Ÿ† Credits

This package is developed and maintained by the PHP team at Nodes, (*15)

Follow Nodes PHP on Twitter Tweet Nodes PHP, (*16)

๐Ÿ“„ License

This package is open-sourced software licensed under the MIT license, (*17)

The Versions

16/02 2017

dev-master

9999999-dev http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

16/02 2017

1.0.3

1.0.3.0 http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

10/09 2016

1.0.2

1.0.2.0 http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

08/09 2016

1.0.1

1.0.1.0 http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

08/06 2016

dev-develop

dev-develop http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

08/06 2016

1.0.0

1.0.0.0 http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

31/03 2016

0.1.3

0.1.3.0 http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

06/02 2016

0.1.2

0.1.2.0 http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

08/01 2016

0.1.1

0.1.1.0 http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast

07/01 2016

0.1.0

0.1.0.0 http://nodesagency.com

Broadcast events with PubNub in your Laravel project

  Sources   Download

MIT

The Requires

 

laravel events nodes pubnub broadcast