This is a Symfony 6/7 Bundle helps you to use idloom API v4 : https://idloom.events/docs/.
1 Add to composer.json to the require
key
composer require gponty/symfony-idloom-api-bundle
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.
This bundle is under the MIT license. See the complete license in the bundle.