PHP code example of gpupo / cnova-sdk
1. Go to this page and download the library: Download gpupo/cnova-sdk 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/ */
gpupo / cnova-sdk example snippets
///...
use Gpupo\CnovaSdk\Factory;
$cnovaSdk = Factory::getInstance()->setup([
'client_id' => 'foo',
'access_token' => 'bar',
'version' => 'sandbox',
]);
$manager = $cnovaSdk->factoryManager('product'));