All Questions
3 questions
0
votes
1
answer
1k
views
Laravel (vlucas/phpdotenv) changing env values dynamically
In my test cases, I try to change some of the environment variables to create better test case coverage.
Laravel by default, only support get environment variable by env($key, $default = null), I ...
2
votes
1
answer
466
views
Laravel Lumen function env() returns null sometimes
I am developing api with Lumen 6.2.0 which gets GET request with certain parameters and token. When it gets parameters it process it in a certain way and then encode with a secret key which is in my ....
6
votes
1
answer
2k
views
dotenv and Elastic Beanstalk - Environment file .env not found or not readable
I'm trying to upload a Lumen project in Amazon Elastic Beanstalk.
.env is in .gitignore.
This is OK, because I have several environement ( dev, qa, prod), so I need to configure have separate env ...