You need to insert the key in the method, or it only returns an array.
env('KEY'); // **local**
In your .env file:
KEY=local
...
Added Docs Link
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community