PHP code example of tackk / shover

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

    

tackk / shover example snippets

 php

use Tackk\Shover\Credentials;
use Tackk\Shover\Transport\Curl;
use Tackk\Shover\Client;

 new Curl($credentials);
$client = new Client($transport);

$client->trigger('test_channel', 'send', ['message' => 'test']);
 php

use Tackk\Shover\Credentials;
use Tackk\Shover\Transport\Guzzle;
use Tackk\Shover\Client;

ew Guzzle($credentials);
$client = new Client($transport);

$client->trigger('test_channel', 'send', ['message' => 'test']);