dompdf ul li break page code example
Example: page break in dompdf
@php $check=0 @endphp
@foreach($array as $item)
@php $check++ @endphp
<!-- your code or something like divs -->
@if( $check % 5 == 0 )
@php echo '<div class="page-break"></div>'; @endphp ....
@endif
@endforeach