avido / laravel-brickset-api-client
Laravel API客户端,用于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-09-10 16:54:40 UTC
README
Laravel API客户端,用于https://brickset.com/tools/webservices/v3
安装
composer require avido/laravel-brickset-api-client
可选的推送配置
php artisan vendor:publish
配置
编辑您的.env文件并添加以下变量
BRICKSET_APIKEY BRICKSET_USERNAME BRICKSET_PASSWORD
或者您也可以编辑/config/brickset-api.php(如果您已发布配置)
门面
BricksetApiClient
需要程序化设置apikey / 用户 / 密码吗?
$client = new BricksetApiClient($apiKey, $username, $password);