PHP code example of ghostzero / lpthoot

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

    

ghostzero / lpthoot example snippets


/*
 * Package Service Providers...
 */
\GhostZero\TwitchToolkit\Providers\PollServiceProvider::class,

$schedule->command('twitch-toolkit:poll')->everyFiveMinutes();
$schedule->command('twitch-toolkit:subscribe-webhooks')->weekly();

dispatch(new SubscribeTwitchWebhooks($channel));