Laravel: Where to store global arrays data and constants?
问题 I just started working with Laravel. I need to rewrite a whole system I made some years ago, using Laravel 4 as base framework. In my old system I use to have a constant.php file with some constants declared, and a globals.php file which contained lots of array sets (For example, categories statuses, type of events, langs, etc.). By doing so, I could use something like foreach ( $langs as $code => $domain ) { // Some stuff } anywhere in my app. My question is, how can I store that info in the