<div class="item">
<div class="item-left">
<div class="point"></div>
<div class="point"></div>
<div class="point"></div>
<div class="point"></div>
</div>
<div class="item-right">
<div class="point"></div>
</div>
</div>
<div class="item">
<div class="item-left">
<div class="point"></div>
<div class="point"></div>
<div class="point"></div>
<div class="point"></div>
</div>
<div class="item-right">
<div class="point"></div>
</div>
</div>
<?php
$items = range(1, 30);
$chunks = array_chunk($items, 5);
$chunks = array_map(function($items){
return array_chunk($items, 4);
}, $chunks);
?>
<?php foreach ($chunks as $chunk): ?>
<div class="item">
<div class="item-left">
<?php foreach ($chunk[0] as $item): ?>
<div class="point"><?=$item?></div>
<?php endforeach; ?>
</div>
<div class="item-right">
<?php foreach ($chunk[1] as $item): ?>
<div class="point"><?=$item?></div>
<?php endforeach; ?>
</div>
</div>
<?php endforeach; ?>
$chunk[1]