How to use env in Laravel package?
I'm contributing to a Laravel package, and I need to use the env() function to get the APP_NAME. But when I run the test, I get the error "call to undefined function env()". I want to ask:
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!