Implement a defensive step in your Laravel framework by throwing an exception if an expected environment variable is not set, rather than reverting back to some default that is probably not appropriate.
A cheatsheet and links for defensive PHP.
A fantastic timestamped lecture on defensive PHP. Everyone should watch this!