PHP code example of mwangaben / lighthouse-redis-broadcaster

1. Go to this page and download the library: Download mwangaben/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/ */

    

mwangaben / lighthouse-redis-broadcaster example snippets


        /*
         * Package Service Providers...
         */
        \Nuwave\Lighthouse\Subscriptions\SubscriptionServiceProvider::class,
        \thekonz\LighthouseRedisBroadcaster\SubscriptionServiceProvider::class,
bash
php artisan lighthouse:subscribe