lox24eu / lox24_api_client_bundle
A simple Symfony bundle for the official sdk provided by LOX24.
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=8.2
- lox24eu/lox24_api_client: ~0.2
- symfony/framework-bundle: ~7.0
README
Installation
Flex
composer require symfony/flex composer require lox24eu/lox24_api_client_bundle
Apply recipe and fill your API token to .env variable LOX24_API_TOKEN
Manual
composer require lox24eu/lox24_api_client_bundle
Add to your config/bundles.php
:
<?php return [ // some bundles here lox24\bundle\api_client\LOX24Bundle::class => ['all' => true], ];
Create config/packages/lox24_api.yaml
:
lox24: api: token: '%env(LOX24_API_TOKEN)%' http_client: '@psr18.http_client' request_factory: '@nyholm.psr7.psr17_factory'
Apply recipe and fill your API token to .env variable LOX24_API_TOKEN