laravel 遍历循环

@foreach($xxx as $k=>$y)
  {{$y->id}}
@endforeach

原文地址:https://www.cnblogs.com/junyi-bk/p/10283308.html