Since when I used smarty I always tried to separate logic statements from html tags, so my approach to blade would be to write:
template.blade.php
<div>
<div>
@if ($something == true)
<ul>
@foreach($list as $item)
<li>
{{ $item->name }}
</li>
@endforeach
</ul>
@endif
</div>
</div>
But the normal way I see this written is:
template.blade.php
<div>
<div>
@if ($something == true)
<ul>
@foreach($list as $item)
<li>
{{ $item->name }}
</li>
@endforeach
</ul>
@endif
</div>
</div>
But also sometimes directive is on the same column as preceding tag and sometimes tags are in the same columns as preceding directive.
I know is pointless to force my style if everybody else use a different one, no matter how much more sense makes to me, but is there any standard from Laravel?