This package is abandoned and no longer maintained. No replacement package was suggested.

Laravel 5 Feefo API Wrapper

v3.0.0 2017-08-16 15:27 UTC

This package is not auto-updated.

Last update: 2020-01-24 16:04:29 UTC


README

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