You can only have strings in .env, so put a quote around everything in the value if you want to include spaces in the value.
API_SCOPES="READ_EMAILS, READ_INTERNET_HISTORY, READ_WHAT_YOUR_CLIENTS_DID_LAST_SUMMER"
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
So I looked for an example of this and I couldn't find it on the Web.
Basically, I have the following .env variable:
API_SCOPES=
i have the following api scopes available:
READ_EMAILS, READ_INTERNET_HISTORY, READ_WHAT_YOUR_CLIENTS_DID_LAST_SUMMER
how do I add all three?
I have tried the following:
API_SCOPES=READ_EMAILS, READ_INTERNET_HISTORY, READ_WHAT_YOUR_CLIENTS_DID_LAST_SUMMER
it ended on the white screen of death.
You can only have strings in .env, so put a quote around everything in the value if you want to include spaces in the value.
API_SCOPES="READ_EMAILS, READ_INTERNET_HISTORY, READ_WHAT_YOUR_CLIENTS_DID_LAST_SUMMER"
Please or to participate in this conversation.