Category : qr-code

I have built a laravel app which implements this qr scanner: https://github.com/maslick/koder (I am using the Vanilla code version) But when I visit the page where the qr scanner is enabled, camera starts but I can’t see the video feed on the screen. I don’t get any console errors just these messages: all.js:9 wasm streaming ..

Read more

In Laravel 8, I’m using this plugin: werneckbh/laravel-qr-code, https://github.com/werneckbh/laravel-qr-code, https://werneckbh.github.io/qr-code (404 at the moment I wrote this question). An example of use I did is: use LaravelQRCodeFacadesQRCode; QRCode::url(‘http://google.fr’)->setSize(5)->setBackColor(‘16777215’)->setForeColor(‘3028535’)->setOutfile(‘storage/qrcodes/qrcode_app.png’)->png(); The colors are decimal formatted. I would want to make the background transparent instead of being equalled to 16777215. I didn’t find any information on how to ..

Read more

In my Laravel application, I am using a QR code that opens a direct WhatsApp chat when scanned. I am using the qrcode.js library to generate the QR code on the page, this is my javascript for generating the QR Code: <script type="text/javascript"> new QRCode(document.getElementById("qrcode"), "https://api.whatsapp.com/send/?phone=+XXXXXX&text=Hello"); </script> What I want to achieve is, to display ..

Read more

I want to download generated a pdf file from blade view when scanning the qr code. And unauthenticated users can download the pdf file by scanning the qr code. What should I do? I have this controller : public function getPdf($id) { $url = CRUDBooster::mainPath(‘pdf/’.$id)."?no_sk=".$data_surat_keterangan->no_surat_keterangan; $data[‘qrcode’] = base64_encode(QrCode::format(‘png’)->size(150)->errorCorrection(‘H’)->generate($url)); $pdf = PDF::loadview(‘backend.surat_keterangan.view_pdf’,$data); return $pdf->stream(); } Showing ..

Read more

hi i need to generate wifi qr code from variable from database. i use laravel. this works good: {!! QrCode::wiFi([‘ssid’ => ‘wifiname’,’password’ => ‘wifipass’,’encryption’ => ‘WPA’]); !!} I’m trying user setting value: {!! QrCode :: wiFi ($ col); !!} where $col has value [‘ssid’ => ‘wifiname’,’password’ => ‘wifipass’,’encryption’ => ‘WPA’] and tadabase column type is ..

Read more