I have a loop like this:
@foreach($data as $d)
@if(condition==true)
{{$d}}
// Here I want to break the loop in above condition true.
@endif
@endforeach
I want to break the loop after data display if condition is satisfied.
How it can be achieved in laravel blade view ?