In my config/locale.php I have an array displayLanguage which contains 'key => value' pairs.
How can I loop through this array in blade?
I have tried the following:
@foreach ( {{ Config::get('app.locale.displayLanguage') }} as $itemKey => $itemVal)
{{ $itemKey }}
@endforeach
I am getting syntax error, unexpected '<'. Tried also some other variation to loop this var without passing it through the controller.