2017 © Pedro Peláez
 

library feefo

Laravel 5 Feefo API Wrapper

image

bluebaytravel/feefo

Laravel 5 Feefo API Wrapper

  • Tuesday, January 2, 2018
  • by jbrooksuk
  • Repository
  • 3 Watchers
  • 2 Stars
  • 16,572 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 12 Versions
  • 7 % Grown

The README.md

Feefo

Build Status StyleCI, (*1)

Laravel 5 wrapper for the Feefo API., (*2)

// Fetch reviews
Feefo::fetch()

Installation

Require this package, with Composer, in the root directory of your project., (*3)

composer require bluebaytravel/feefo

Add the service provider to config/app.php in the providers array., (*4)

BlueBayTravel\Feefo\FeefoServiceProvider::class

If you want you can use the facade. Add the reference in config/app.php to your aliases array., (*5)

'Feefo' => BlueBayTravel\Feefo\Facades\Feefo::class

Configuration

Feefo requires connection configuration. To get started, you'll need to publish all vendor assets:, (*6)

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., (*7)

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., (*8)

License

MIT, (*9)

The Versions