For loop using Blade Templating in Laravel 5
Following example showing for loop using Blade Templating.
Example
@for ($i = 0; $i < 10; $i++) The current value is {{ $i }} <br> @endfor
Output
The current value is 0
The current value is 1
The current value is 2
The current value is 3
The current value is 4
The current value is 5
The current value is 6
The current value is 7
The current value is 8
The current value is 9