PHP Client for Spotler (spotler.nl) with support for Laravel 5.5 and higher
Install the package using composer:
composer require reach-digital/spotler-client
On Laravel versions before 5.5 you also need to add the service provider to config/app.php
manually:
Spotler\SpotlerServiceProvider::class,
Then add this in config/services.php
:
'spotler' => [
'consumerKey' => env('SPOTLER_CONSUMERKEY'),
'consumerSecret' => env('SPOTLER_CONSUMERSECRET'),
],
Finally, add the fields SPOTLER_CONSUMERKEY
, SPOTLER_CONSUMERSECRET
to your .env
file with the appropriate credentials.