PHP code example of evoluted / feefo

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

    

evoluted / feefo example snippets


$feefo = new Evoluted\Feefo\Feefo(
	'', // Merchant identifier
	'' // API Key
);

$feefo->reviews();

$feefo->reviews(10);

$feefo->get('10/products/ratings', [
    'merchant_identifier' => $feefo->merchantIdentifier,
    'review_count' => '10',
    'since' => 'year',
]);

$sale = $feefo->post('entersaleremotely', [
    'apikey' => $feefo->apiKey,
    'merchantidentifier' => $feefo->merchantIdentifier,
    'email' => '[email protected]',
    'name' => 'John Smith',
    'date' => '2016-11-25',
    'description' => 'Our Product',
    'productsearchcode' => '123456',
    'orderref' => 'ORDER123456',
    'amount' => '123.45',
    'productlink' => 'http://www.example.com/product/123456',
    'customerref' => '987654',
]);