Skip to content

Provide "dump-env" as regular Symfony command #40381

@mbrodala

Description

@mbrodala

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions