PHP code example of thekonz / lighthouse-redis-broadcaster
1. Go to this page and download the library: Download thekonz/lighthouse-redis-broadcaster library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thekonz / lighthouse-redis-broadcaster example snippets
/*
* Package Service Providers...
*/
\Nuwave\Lighthouse\Subscriptions\SubscriptionServiceProvider::class,
\thekonz\LighthouseRedisBroadcaster\SubscriptionServiceProvider::class,
bash
php artisan lighthouse:subscribe