If the configuration will be cached on the server, then the data from the ENV will not be available. https://laravel.com/docs/5.8/configuration#configuration-caching