Skip to content

SykesCottages/feefo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feefo PHP API Package

Build Status

This package is designed to be an easy way to query the Feefo reviews API in php.

It can be installed using composer by running the following command:

composer require sykescottages/feefo

Then simplest method of getting the reviews is as follows:

$reviews = new SykesCottages\Feefo\Reviews('merchant-identifier');
foreach ($reviews->getReviews() as $review) {
    // Handle review here
}

Functions

All functions can be chained, together for example:

$reviews = new SykesCottages\Feefo\Reviews('merchant-identifier');
foreach ($reviews->sku('sku')->pageSize(50)->getReviews() as $review) {
    // Handle review here
}
Function Name Description Default Value
url The URL endpoint https://api.feefo.com/api/10/reviews/product
sincePeriod Filter reviews to those created during the specified period all
fullThread Filters subsequent exchanges between the customer and merchant include
pageSize The number of reviews to return per page, max 100 100
page The page number to return reviews for 1
fields Limit the response to include certain fields
sku Filter reviews assigned to the specified product search code

About

PHP library to get Feefo reviews

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published