<div style='width: 50%; float: left; height: 30px; border-radius: 4px; background: #ccc;padding: 5px;'>2<img src='http://qr-team/qrcodes/".$randstr.".png' style='width: 50px;'></div>
<div style='width: 50%; float: left; height: 30px; border-radius: 4px; background: #ccc;padding: 5px;'>2<img src='http://qr-team/qrcodes/".$randstr.".png' style='width: 50px;'></div>
$div1 = '1див';
$div2 = '2див';
$div3 = '3'див;
$div4 = '4'див;
$data = [['div' => $div1], ['div' => $div2], ['div' => $div3], ['div' => $div4]];
['data' => $data]);
<div style='display: flex;flex-wrap: wrap;'>
<div style='width: 50%; float: left; display: block; height: 30px; border-radius: 4px; background: #ccc;padding: 5px;'>1</div>
<div style='width: 50%; float: left; display: block; height: 30px; border-radius: 4px; background: #ccc;padding: 5px;'>2</div>
<div style='width: 50%; float: left; display: block; height: 30px; border-radius: 4px; background: #ccc;padding: 5px;'>3</div>
</div>
<div style='width: 100%;'>
<div style='width: 50%; float: left; display: block; height: 30px; border-radius: 4px; background: #ccc;padding: 5px;'>1</div>
<div style='width: 50%; float: left; display: block; height: 30px; border-radius: 4px; background: #ccc;padding: 5px;'>2</div>
<div style='width: 50%; float: left; display: block; height: 30px; border-radius: 4px; background: #ccc;padding: 5px;'>3</div>
</div>
$data = [['div' => $div1], ['div' => $div2]];
$pdf = \PDF::setOptions(['isHtml5ParserEnabled' => true, 'isRemoteEnabled' => true])->loadView('/components/pdf', $data);
return $pdf->download('itsolutionstuff.pdf');