Most Symfony applications read their configuration from environment variables. While developing locally, you'll usually store these in .env and .env.local (for local overrides). On production, you have two options:
Create "real" environment variables. How you set environment variables, depends on your setup: they can be set at the command line, in your Nginx configuration, or via other methods provided by your hosting service.
Or, create a .env.local file just like your local development (see note below)
There is no significant advantage to either of the two options: use whatever is most natural in your hosting environment.
composer dump-env prod
которая создает обычный PHP файл из имеющихся у вас в .env
файлах переменных, тем самым устраняя необходимость их разбора. variables_order = "GPCS"
variables_order = "EGPCS"