Is there any way to access .env vals from inside of a middleware script?
I have tried to do so by env('KEY') but this seems to return null most of the time.
Does any one know of a better way to do this inside of middleware or a way to insure the .env file has been loaded before the middleware runs?