-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Labels
Description
Symfony Flex provides a dump-env
command which must be invoked using Composer. At its introduction it was suggested to use this in deployment workflows to generate optimized PHP versions of .env
.
However, this assumes that Composer exists and is executed on remote servers. At least for us this is impossible since our deployment workflows dictate that releases are prepared locally (installing Composer dependencies, etc.) before being uploaded to the remote server. Thus we don't need/have Composer on the remote server.
Since I assume that we are not alone I would suggest to provide dump-env
also as regular Symfony command which can be invoked using bin/console
.
kaznovac, Kocal and giuliolastraOskarStark