PHP code example of trevipay / trevipay-php
1. Go to this page and download the library: Download trevipay/trevipay-php 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/ */
trevipay / trevipay-php example snippets
composer
$treviPay = new TreviPay\TreviPay\Client('API-KEY');
$webhookList = $treviPay->webhooks->list();
var_dump($webhookList);