avido / laravel-brickset-api-client
Laravel API Client for the Brickset API
0.2.0
2020-11-10 07:50 UTC
Requires
- php: ^7.4
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- orchestra/testbench: ^5.3
- overtrue/phplint: ^1.2
- phpunit/phpunit: ^9.2
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-11-10 17:07:23 UTC
README
Laravel API Client for https://brickset.com/tools/webservices/v3
Installation
composer require avido/laravel-brickset-api-client
Optional Push configuration
php artisan vendor:publish
Configuration
Edit your .env file and add the following variables:
BRICKSET_APIKEY
BRICKSET_USERNAME
BRICKSET_PASSWORD
Alternatively you can also edit /config/brickset-api.php
(if you published the configuration)
Facade
BricksetApiClient
Need to set apikey / user / password programmatically?
$client = new BricksetApiClient($apiKey, $username, $password);