Configuration
Logidav uses Symfony 3.3 parameters.yml for all runtime configuration.
Parameter Groups
| Group | Purpose | Example Keys |
|---|---|---|
database_* | MySQL connection | database_host, database_port, database_name, database_user |
mailer_* | SMTP configuration | mailer_host, mailer_user, mailer_password |
rabbitmq_* | RabbitMQ connection | rabbitmq_host, rabbitmq_port, rabbitmq_user, rabbitmq_vhost |
magento_* | Magento 2 API | magento_api_url, magento_token |
dpd_* | DPD carrier API | dpd_api_url, dpd_user_id, dpd_password |
chronopost_* | ChronoPost carrier API | chronopost_account, chronopost_password |
gls_* | GLS carrier API | gls_api_url, gls_credentials |
geodis_* | Geodis carrier API | geodis_api_url, geodis_credentials |
stripe_* | Stripe payments | stripe_api_key, stripe_webhook_secret |
hipay_* | Hipay payments | hipay_api_url, hipay_credentials |
payline_* | Payline payments | payline_merchant_id, payline_access_key |
klarna_* | Klarna BNPL | klarna_api_url, klarna_credentials |
scalapay_* | Scalapay BNPL | scalapay_api_key |
lengow | Lengow V3 marketplace connector accounts | account 5622, 6395, 17220; account_id, access_token, secret, api_url, label |
lengowV2 | Legacy Lengow V2 feeds | retired feed 113959 |
shopping_feed_* | ShoppingFeed connector | shopping_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
| Environment | Config file | Purpose |
|---|---|---|
| Development | app/config/config_dev.yml | Debug toolbar, verbose logging, relaxed security |
| Production | app/config/config_prod.yml | Optimized caching, error logging, strict security |
| Test | app/config/config_test.yml | Test 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
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.
| Account | Label | Purpose |
|---|---|---|
5622 | Lengow Menzzo | Menzzo V3 marketplace imports |
6395 | Lengow Cotecosy | Cotecosy V3 marketplace imports |
17220 | Mosaikasa | Mosaikasa 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
- Docs Site Deployment — deployment configuration
- System Crontab — cron schedule configuration
- Lengow Integration — account flow and operational commands
- API Failure Triage — troubleshooting credential issues