Laravel Sail should support multiple docker-compose files by configuring them in a dotenv file (.env). The line in my .env file... The part of Sai ...
Laravel Sail should support multiple docker-compose files by configuring them in a dotenv file (.env). The line in my .env file... The part of Sai ...
I'm working with two libraries: phpdotenv spatie/async This is what I'm executing: This is the DataConfig definition: And this is my co ...
After updating composer to v1 to v2, my build on heroku is failing, error message : ...
I started a project using composer and donlowaded the package vlucas/phpdotenv. I would like to call the $_ENV['name'] for example in my whole project ...
I'm trying to consume messages from SQS with the symfony 5 SQS consumer and i'm having an issue when the aws secret key contains special chars like + ...
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 environ ...
I run into this issue after I loaded my custom .env.custom file in AppServiceProvider: class AppServiceProvider extends ServiceProvider { // ... ...
I'm having a problem with vlucas/phpdotenv installation My composer.json: { "name": "developer/mvc", "authors": [ { "n ...
So I am using vlucas/phpdotenv in my php application to store and use environment variables. I have created a db.php file which contains the configura ...
I have a Symfony 5.1.8 project, in which I want to use a different database connection for testing. To do so, I set up the file .env.test.local with a ...
Im new to this, and have been trying for a few hours to get this to work. I have a project with this structure: The contents of my .env file is thi ...
I wanna to use phpdotenv in my project. I read it installation guide and run composer require vlucas/phpdotenv inside my project. Now it downloads man ...
I have struggled with how to write this so please bear with me. Ill try and be as clear as possible: Setup: Github repo with 3 branches (Master/De ...
I'm new to slim framework. I'd try to add .env file in root folder project and then I want to access the value inside .env file. I've tried use this p ...
I am trying to set a database environment to test my Doctrine ORM Entity classes, without changing my real database. I followed Symfony's documentati ...
I am using Laravel 6.x for client's project wherein I have built an API in the Artisan Command for syncing data. Now client wants the configuration t ...
I need help with this error in the screenshot below I am using PHP 7.2 and a 3rd party composer - "composer require vlucas/phpdotenv" v4.1.4. I defi ...
I have to .env files .env.local and .env.pro and I don't know how to switch between files, I tried changing config\app.php from to But I get a ...
I want to have dynamic seeders based on my environment. (eg in testing I want so only seed 100 rows, whereas local it would be 10'000). I've created ...
I wanted to see what would be the proper way to call a .env file inside my project? One of the developers that I'm working with, just told me that eve ...