How can I use one .env file for multiple Document roots in Laravel

We use Laravel and have multiple subdomains/domains set up in our servers for different clients. Most of the .env parameters - API urls, DB configurations etc are the same for all clients. Some parameters such as hashing keys may be different. Is it possible to store common parameters in one 'global' .env file,'source' them from it and then add the client-specific parameters in a 'local' .env file? As of now, we have to edit the .env file for each client when we add a new parameter.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2T6or0R
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

I am unable to figure out how to create payment collection request, after a form has been submitted in laravel

laravel, mysql transaction not working after failed one time