Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 879 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 879 Bytes

spotler-client

Build Status

PHP Client for Spotler (spotler.nl) with support for Laravel 5.5 and higher

Installation

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.