Untitled

mail@pastecode.io avatar
unknown
plain_text
23 days ago
475 B
1
Indexable
Never
foreach ($order_attendees as $key => $item) {
                                        $barcode = @$item['barcode'];
                                        $qrCode = (new QrCode("$barcode"))
                                            ->setSize(250)
                                            ->setMargin(5);
                                        $qrCode->writeFile(Yii::$app->basePath  . '/web/template/qrcode/' . $barcode . ".png");
                                    }
Leave a Comment