Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Hassankhan's avatar

Laravel QR code auto redirect after SCAN QR CODE FROM MOBILE

Hi, everybody i need your help i am using the Laravel QR code library "name": "bacon/bacon-qr-code", to generate a QR Code it perfectly work. the problem is that I am facing when I scan the qr code it provides me my generated data which url and uuid but i want when i scan it redirect me on my provided url automatically

$profileUrl = 'http://192.168.3.49:8001/profile-detail/' . $user->qrcode;
            $qrCode = QrCode::size(300)->generate($profileUrl);
            $path = 'qr_code/' . $user->name . '.svg';
            Storage::put('public/' . $path, $qrCode);
0 likes
2 replies
Hassankhan's avatar

@Snapey Thanks for replaying the happening is it did not redirect URL but i already find a issue. The issue in my mobile scanner now its working fine

Please or to participate in this conversation.