Laravel — P65: Environment Directive vs Function
Published in
4 min readMar 13
--
There comes a time when you want to use environmental variables in your Blade components. But, how do you do it? There are a couple of different ways. We’ll take a look at the env()
function first and then the directive itself.