I need to know if there is a laravel blade way to do the following without using PHP tags.
<?php $i = 1; ?>
@foreach($rows as $row)
//do something
<?php $i++; ?>
@endforeach
As you can see the code looks ugly with tags and its time wasting to write extra tags.