phpdotenv
phpdotenv copied to clipboard
Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
It looks like the logic for multiline support does not allow for equals signs on the final line. e.g. This will not load the variable as expected. `BASE64_ENCODED_MULTILINE="qS1zCzMVVUJWQShokv6YVYi+ruKSC/bHV7GmEiyVkLaBWJHNVHCHsgTksEBsy8wJ uwycAvR07ZyOJJed4XTRMKnKp1/v+6UATpWzkIjZXytK+pD+XlZimUHTx3uiDcmU jhQX1wWSxHDqrSWxeIJiTD+BuUyId8FzmXQ3TcBydJ474tmOU2F492ubk3LAiZ18...
Hi! I've got two questions - can we start use non-ASCII in our .env files? And if not (because it's obiously not possible, I try it) - why? It can...
I have a Laravel project with about 51 environment variables on our `.env.testing` file. The project consist of about 1300 automation tests written on PHPUnit. I was investigating a performance...
Managing several '.env' files plus a '.env.example' is sometimes complicated, and frequently we get some of those files out of sync. So, it could be a nice feature to be...
# Summary If `.env` references a variable (e.g. `${FOO}`) which is not already set (either via the external environment, or in the `.env` file, it is **left unexpanded**. This is...
Hello, In your readme you state "NO adding php_value flags to .htaccess files" So I have php_value error_log [PATH] in my .htaccess, and I want the path not to be...
On some platforms such as Kubernetes or Docker Swarm, it's possible to pass sensitive configuration values to containers in files instead of environment variables. This is a good thing, and...
Some time ago we were performing updates to all our packages, including the dotenv, where we went from v2 to v5. And later we noticed that the CPU usage and...
https://gist.github.com/bilogic/4114836067651905888abd542becee55 I have a set of flaky tests in the gist above. What I can't understand is: 1. If the tests are ran individually, they all pass 2. If PHPUnit...
I tried to do things like this : ```env LA="de" COUNTRY="DE" LANG="${LA}_${COUNTRY}" CHARSET="UTF-8" LC_CTYPE="${LANG}@${CHARSET}" ``` and it does not work on my raspberry the variables are simply not loaded. But...