Is there a way to read variables from the local .env file ? #3479
Unanswered
HassanZahirnia
asked this question in
Help needed
Replies: 1 comment 1 reply
-
Yes, via Dotenv. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd rather not have my host configurations such as host name, port, username, paths, etc... in the
deploy.php
and I prefer having them in a config file that is gitignored.I wonder if there is a way to read variables from a
.env
file ?Beta Was this translation helpful? Give feedback.
All reactions