In my config/locale.php I have an array 'displayLanguage' which contain 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 veriation to loop this var without passing it through the controller