Wanted to move away values from .env

Posted 1 year ago by gsmart07

I have a situation where client wants me to not expose credentials of database by not putting directly into .env file but in external file in another directory on server, which loads those values and will work and I will also able to share my code easily. I did this in Codeigniter and CakePHP where config files are usually php files but seems to be difficult in Laravel, Please help.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.