orbscope/orbstream-laravel

Orbstream Laravel SDK

v1.5 2018-01-28 05:32 UTC

This package is not auto-updated.

Last update: 2024-12-19 23:29:28 UTC


README

client SDK for Orbscope/Orbstream based on orbscope/orbstream package.

Usage

  • composer require orbscope/orbstream-laravel
  • register the service provider Orbscope\Orbstream\Laravel\OrbstreamServiceProvider::class in config/app.php in providers.
  • register the facade Orbscope\Orbstream\Laravel\OrbstreamFacade
<?php

	echo Orbstream::uniqid();

	Orbstream::publish("mychannel");

	dd(Orbstream::clients("mychannel"));