I'm trying to know the list of artisan command by using php artisan list . and the command return me the following error
[Dotenv\Exception\InvalidFileException]
Dotenv values containing spaces must be surrounded by quotes.
What is wrong?
Thanks in advance.
You should remove all spaces from .env file to make an app work again.
If you have to use spaces, instead of this:
VAR=some data
Use quotes:
VAR="some data"
Verify your .env file. You need to check for the following:
Example:
varaible=123 Test
Needs to be
varaible="123 Test"
Make sure that: