I need to define such configuration parameters as the contacts of the company (phone, address etc) for using in twig templates. How am I supposed to make it? The most obvious way to me is adding them into the app/config/config.yml file like this:
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: en
contacts:
phone: 08455555050
Is that ok or there is any better way?
Also, the docs say I should use constants in entities for params that never change, but I don't need an entity for which would hold these data, how to be with this? I'm just starting with Symfony and confused.