steffjenl / spotler-client
PHP Client for Spotler (spotler.nl) with support for Laravel 5.5 and higher
Installs: 14 155
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 4
Open Issues: 0
Requires
- ext-curl: *
- ext-json: *
Requires (Dev)
- php: >=7.1.3
- mockery/mockery: ^1.0
- orchestra/testbench: ^3.5
- phpunit/phpunit: ^7.0
- psy/psysh: ^0.8.13
- squizlabs/php_codesniffer: ^3.1
This package is auto-updated.
Last update: 2025-03-07 03:08:54 UTC
README
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.