lox24eu / lox24_api_client_bundle
A simple Symfony bundle for the official sdk provided by LOX24.
Package info
github.com/lox24/api-client-php-symfony-bundle
Type:symfony-bundle
pkg:composer/lox24eu/lox24_api_client_bundle
0.3
2024-05-31 12:50 UTC
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