For PHPMaker 2026 the .env.dev.local and .env.prod.local is automatically generated by the PHPMaker.
How can I add my custom value in this env, something like
#MyCustom Value
CUSTOM_VALUE_1='abcdefg'
CUSTOM_VALUE_2='321654'
For PHPMaker 2026 the .env.dev.local and .env.prod.local is automatically generated by the PHPMaker.
How can I add my custom value in this env, something like
#MyCustom Value
CUSTOM_VALUE_1='abcdefg'
CUSTOM_VALUE_2='321654'
You don't need to modify .env.dev.local and .env.prod.local, you can add your own .env.dev and .env.prod to the site.
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides