Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 631 Bytes

2022-08-23-add-option-to-dump-env-vars.md

File metadata and controls

12 lines (12 loc) · 631 Bytes
title issue
Add option to dump env vars to env.local.php file
NEXT-21580

Core

  • Added dotenv:dump command to the container.
  • Added --dump-env option to system:setup command, to allow dumping env vars to env.local.php file.

Upgrade Information

Dump env vars

You can now dump the env vars to a optimized env.local.php file by running bin/console system:setup --dump-env or bin/console dotenv:dump --env {APP_ENV} command. For more information on the env.local.php file, see the symfony docs.