1. Go to this page and download the library: Download entanet/pub-sub-laravel 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/ */
entanet / pub-sub-laravel example snippets
// PubSubEventHelper.php is used to override the laravel global event helper.
php artisan pubsub:consumer test_topic
$tricksyInstance = new TricksyClass();
$response = $this->invokeMethod($tricksyInstance, 'privateMethod');