Skip to content
This repository has been archived by the owner on Jul 8, 2019. It is now read-only.

BlueBayTravel/Feefo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feefo

Build Status StyleCI

Laravel 5 wrapper for the Feefo API.

// Fetch reviews
Feefo::fetch()

Installation

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

Configuration

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.

Testing

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.

License

MIT