Well Laravel used to do this and moved to the DotEnv. It is very similar in he sense of you can have...
Nice work! That would do it! Thanks for the update.
Hmm I would try loosening your catch (using \Exception), just as a start to make sure the exception...
While I'm not quite sure I follow the use case, I think you may want to look into the IoC, or App fo...
So it seems you are working with Eloquent Collections so you could always just use a next statement...
The Laravel portal for problem solving, knowledge sharing and community building.