Portfolio Filter All @foreach($category as $categorydata) {{ $categorydata['title'] }} @endforeach @if(isset($data['project'])) @foreach($data['project'] as $projects) @if (count($projects['img']) > 0) {{ $projects['title'] }} View build @php $i = 0 @endphp @foreach($projects['img'] as $projectsimg) @if($i>0) @endif @php $i++ @endphp @endforeach 01 {{ count($projects['img']) }} @endif @endforeach @endif @include('partial.footer')