Skip to content

[DotEnv] Move DumpEnvCommand from Flex to DotEnv #46635

Closed
@chr-hertel

Description

@chr-hertel

Description

While working with the DotEnv component it is beneficial to run composer dump-env prod for production installations in case you can't/don't use env vars. This is only possible though if you have also symfony/flex installed.

I would argue that this should be bundled with the DotEnv component instead as this tightly coupled to the usage of the component. So my proposal would be to migrate that command.

WDYT?

Example

# before
composer dump-env prod

# after
bin/console dotenv:dump prod

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions