gponty / symfony-idloom-api-bundle
Service to use api idloom.events in Symfony
Installs: 1 443
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.1
- symfony/config: ^6.3
- symfony/dependency-injection: ^6.3
- symfony/http-client: ^6.3
- symfony/http-kernel: ^6.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.17
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- phpstan/phpstan-symfony: ^1.3
This package is auto-updated.
Last update: 2025-04-05 09:20:56 UTC
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.