PHP code example of wildsurfer / silex-provider-infusionsoft-isdk
1. Go to this page and download the library: Download wildsurfer/silex-provider-infusionsoft-isdk 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/ */
wildsurfer / silex-provider-infusionsoft-isdk example snippets
php
use Silex\Application;
$key = 'secretkey';
$appName = 'appname';
$app = new Application();
$app->register(new IsdkServiceProvider(), array(
'isdk.key' => $key,
'isdk.appName' => $appName
));
$paymentOptions = $app['isdk']->getAllPaymentOptions();