bluebaytravel / feefo
Laravel 5 Feefo API Wrapper
Installs: 16 728
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 1
Requires
- php: >=5.5.9
- guzzlehttp/guzzle: ^5.3|^6.0
- illuminate/contracts: 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*
- illuminate/support: 5.1.*|5.2.*|5.3.*|5.4.*|5.5.*
Requires (Dev)
- graham-campbell/testbench: ^3.1
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^4.8|^5.0
README
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.