@foreach($categories as $category)
{{$category->name}}

{{$category->name}}

@endforeach