I am trying to get the heroku variable in PHP.I have been defined the variable in heroku.But the problem is I am not able to access those variable.
I have checked the variable in web and also console..The variable is there.But in PHP it shows empty.Anything need to be do in the composer or vendor?
In views file i tried like:
getenv('VIDEO');
But this is empty.Please help.
i already checked these links: