fittinq / symfony-connector
21.0.0
2024-10-29 11:29 UTC
Requires
- php: ^8.0
- ext-curl: *
- ext-json: *
- fittinq/logger-elasticsearch: ^6.0
- symfony/console: ^5.0|^6.0
- symfony/framework-bundle: ^5.0|^6.0
- symfony/http-client: ^5.0|^6.0
Requires (Dev)
- fittinq/symfony-mock: ^7.0
- phpunit/phpunit: ^9.0
- dev-main
- 21.0.0
- 20.1.0
- 20.0.1
- 20.0.0
- 19.0.0
- 18.0.1
- 18.0.0
- 17.0.1
- 17.0.0
- 16.0.0
- 15.0.0
- 14.3.0
- 14.2.0
- 14.1.0
- 14.0.0
- 12.0.4
- 12.0.3
- 12.0.2
- 12.0.1
- 12.0
- 11.3.0
- 11.2.0
- 11.1.0
- 11.0.0
- 10.1.0
- 10.0.0
- 9.1.0
- 9.0.2
- 9.0.1
- 9.0.0
- 8.4.4
- 8.4.3
- 8.4.2
- 8.4.1
- 8.4
- 8.3.0
- 8.2.0
- 8.1.0
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.4.0
- 7.3.1
- 7.3.0
- 7.2.0
- 7.1.0
- 7.0.0
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.0
- 5.0.0
- 4.1.0
- 4.0.0
- 3.1.0
- 3.0.0
- 2.7.4
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-lower-psr-for-pimcore
This package is auto-updated.
Last update: 2024-10-29 10:31:59 UTC
README
Use symfony connector to handle http requests.
Install via composer
composer require fittinq\symfony-connector
Configure bundle
# config/bundles.php
<?php
return [
// ...
Fittinq\Symfony\Connector\SymfonyConnectorBundle::class => ['all' => true]
];
Configure .env
Configure the following .env.local settings
APP_ENV=prod
CONNECTOR_SENSITIVE_HEADERS='["Authorization"]'
CONNECTOR_INDEX_NAME=hello_
CONNECTOR_INDEX_DATE_FORMAT=Ymd
CONNECTOR_SERVICE_NAME=connector-hello-world
CONNECTOR_ELASTIC_LOGGER_HOST_URL=https://username:password@elasticsearch.io:9243
Configure custom log service
This service introduces a new logger alias 'fittinq.logger'. This references '@logger' by default, but can be overridden in the service.yml:
# config/services.yaml
services:
fittinq.logger: '@Fittinq\Logger\Logger\ElasticSearchLogger'