Tutorial by Examples

It is known for a while that dealing with loops in Blade has been limited, as of 5.3 there is a variable called $loop available @foreach($variables as $variable) // Within here the `$loop` variable becomes available // Current index, 0 based $loop->index; // Current ite...

Page 1 of 1