Skip to main content

Configuration

Logidav uses Symfony 3.3 parameters.yml for all runtime configuration.

Parameter Groups

GroupPurposeExample Keys
database_*MySQL connectiondatabase_host, database_port, database_name, database_user
mailer_*SMTP configurationmailer_host, mailer_user, mailer_password
rabbitmq_*RabbitMQ connectionrabbitmq_host, rabbitmq_port, rabbitmq_user, rabbitmq_vhost
magento_*Magento 2 APImagento_api_url, magento_token
dpd_*DPD carrier APIdpd_api_url, dpd_user_id, dpd_password
chronopost_*ChronoPost carrier APIchronopost_account, chronopost_password
gls_*GLS carrier APIgls_api_url, gls_credentials
geodis_*Geodis carrier APIgeodis_api_url, geodis_credentials
stripe_*Stripe paymentsstripe_api_key, stripe_webhook_secret
hipay_*Hipay paymentshipay_api_url, hipay_credentials
payline_*Payline paymentspayline_merchant_id, payline_access_key
klarna_*Klarna BNPLklarna_api_url, klarna_credentials
scalapay_*Scalapay BNPLscalapay_api_key
lengowLengow V3 marketplace connector accountsaccount 5622, 6395, 17220; account_id, access_token, secret, api_url, label
lengowV2Legacy Lengow V2 feedsretired feed 113959
shopping_feed_*ShoppingFeed connectorshopping_feed_token

:::danger Security Never commit parameters.yml to git. Use parameters.yml.dist as a template with placeholder values. Actual credentials must be managed securely on each environment. :::

Environment Configuration

EnvironmentConfig filePurpose
Developmentapp/config/config_dev.ymlDebug toolbar, verbose logging, relaxed security
Productionapp/config/config_prod.ymlOptimized caching, error logging, strict security
Testapp/config/config_test.ymlTest database, mocked services

Cache Management

# Clear cache for the current environment
php bin/console cache:clear --env=prod

# Warm up cache
php bin/console cache:warmup --env=prod
warning

After modifying parameters.yml in production, always clear and warm up the cache. Some parameters are compiled into the container and will not take effect until the cache is rebuilt.

Lengow Accounts

Lengow V3 accounts are configured as nested entries under lengow in app/config/parameters.yml.dist. The V3 service reads these entries through LengowService::getLengowParam() in src/ErpBundle/Services/Lengow/V3/LengowService.php.

AccountLabelPurpose
5622Lengow MenzzoMenzzo V3 marketplace imports
6395Lengow CotecosyCotecosy V3 marketplace imports
17220MosaikasaMosaikasa V3 marketplace imports; product matching uses mz_product.ean_bis

The old lengowV2 feed 113959 is retired. Keep it out of active cron and menu navigation unless the business intentionally reactivates the legacy feed.

See also