I want to install the wp-stage-switcher plugin on the Bedrock setup. The instructions for the plugins requires the ENVIRONMENTS constant to be added to the wp-config file. My question is whether this can be achieved by customizing the .env file when using the Bedrock setup instead of tweaking the wp-config.php file?
The problem with that is
.env only contains information for one (the “current”) environment. The stage switcher plugin needs information for all the environments.
A solution I’ve thought briefly about is reading the env specific config files to get data instead of requiring the