Closed mhammerschmidt closed 8 years ago
env()
is not a function from dotenv, it's a helper from Laravel (I assume that is what you are using?)
You could use getenv()
if you want to use it without Laravel.
Some documentation would be nice.
Current master is broken for non Laravel users. Please fix this!
In order to be able to store configuration for a project without touching the code inside vendor we added the dotenv dependency and fetch the keys from the ENV if existing.
The configuration constants can still be used.