sykescottages / feefo
There is no license information available for the latest version (dev-master) of this package.
Gets Feefo reviews from their API
dev-master
2021-11-08 04:53 UTC
Requires
- php: ^7.4
- ext-json: *
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- doctrine/coding-standard: ^9.0
- phpunit/phpunit: ^9.4
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-11-08 11:25:14 UTC
README
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 }