Laravel 5 wrapper for the Feefo API.
// Fetch reviews
Feefo::fetch()
Require this package, with Composer, in the root directory of your project.
composer require bluebaytravel/feefo
Add the service provider to config/app.php
in the providers
array.
BlueBayTravel\Feefo\FeefoServiceProvider::class
If you want you can use the facade. Add the reference in config/app.php
to your aliases array.
'Feefo' => BlueBayTravel\Feefo\Facades\Feefo::class
Feefo requires connection configuration. To get started, you'll need to publish all vendor assets:
php artisan vendor:publish
This will create a config/feefo.php
file in your app that you can modify to set your configuration. Also, make sure you check for changes to the original config file in this package between releases.
When running PHPUnit locally, you'll need to create a copy of phpunit.xml.dist
as phpunit.xml
, afterwards you'll need to modify both the FEEFO_LOGON
and FEEFO_PASSWORD
environment settings within the configuration.