@php use App\Http\Controllers\TestimonialController; $controller = new TestimonialController(); $testimonials = $controller->getActive(); @endphp @if($testimonials->count() > 0) What Our Students Say Hear from our satisfied students and alumni @foreach($testimonials as $testimonial) @for($i = 0; $i < $testimonial->rating; $i++) ★ @endfor @for($i = $testimonial->rating; $i < 5; $i++) ★ @endfor "{{ Str::limit($testimonial->testimonial, 150) }}" @if($testimonial->image) @endif {{ $testimonial->name }} @if($testimonial->title) {{ $testimonial->title }} @endif @endforeach @endif
Hear from our satisfied students and alumni
"{{ Str::limit($testimonial->testimonial, 150) }}"