steffjenl/spotler-client

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

v0.0.7 2020-04-03 17:43 UTC

This package is auto-updated.

Last update: 2024-04-07 01:06:15 UTC


README

Build Status

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

Installation

Install the package using composer:

composer require steffjenl/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.