-
Hello, Does anybody know if we can change the default '.env' file name and location? It seems to be hardcoded on:
If it's not possible to change it, would you be receptive to a PR allowing this functionality? The use case are:
|
Beta Was this translation helpful? Give feedback.
Answered by
underdpt
Nov 4, 2021
Replies: 1 comment
-
My fault, found it just after submitting: Add this to $app->useEnvironmentPath('/path/to/env')
$app->loadEnvironmentFrom('env.file'); before returning the application ( |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
owenvoke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My fault, found it just after submitting:
Add this to
bootstrap/app.php
:before returning the application (
$app
).