2017 © Pedro Peláez
 

library laravel-realtime

Laravel realtime communication using pub/sub pattern

image

duxet/laravel-realtime

Laravel realtime communication using pub/sub pattern

  • Sunday, March 1, 2015
  • by duxet
  • Repository
  • 4 Watchers
  • 9 Stars
  • 603 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

laravel-realtime

Gitter chat Build Status Test Coverage Code Climate Packagist, (*1)

Laravel package for realtime communication using publish/subscribe pattern., (*2)

What is that?

Ajax is not cool anymore. Now we have websockets, which gives us realtime communication with minimal delay. But how to use it with Laravel? This package gives answer to this question!, (*3)

Supported services

  • PubNub
  • Pusher (only publish method)

How to use it?

Realtime::publish('my_channel', 'Hello world!');
Realtime::subscribe('my_channel', function($message) {
  ...
);

Installation

Require this package by using following command:, (*4)

composer require duxet/laravel-realtime

After updating composer, add the ServiceProvider to the providers array in config/app.php, (*5)

'duxet\Realtime\RealtimeServiceProvider',

And if you want, you can add alias to Facade in your 'config/app.php', (*6)

'Realtime' => 'duxet\Realtime\Facades\Realtime',

License

Package is licensed under MIT License., (*7)

The Versions

01/03 2015

dev-master

9999999-dev

Laravel realtime communication using pub/sub pattern

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar duxet

laravel realtime pubsub

27/02 2015

dev-develop

dev-develop

Laravel realtime communication using pub/sub pattern

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar duxet

laravel realtime pubsub