gponty/symfony-idloom-api-bundle
最新稳定版本:1.02
Composer 安装命令:
composer require gponty/symfony-idloom-api-bundle
包简介
Service to use api idloom.events in Symfony
README 文档
README
This is a Symfony 6/7 Bundle helps you to use idloom API v4 : https://idloom.events/docs/.
Installation
1 Add to composer.json to the require key
composer require gponty/symfony-idloom-api-bundle
Usage
Inject the service in your controller :
public function __construct(readonly IdLoomApiService $idLoomApiService) { }
Use the service :
$this->idLoomApiService->setKey('abcdefdfhijklmnopqrstuvwxyz'); $options = [ 'event_uid' => '1234567890']; $response = $this->idLoomApiService->request('GET','/attendees',$options);
It's not possible to put api key in .env file because you can have different keys for different events.
License
This bundle is under the MIT license. See the complete license in the bundle.
统计信息
- 总下载量: 2.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-09