Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate QrCOde with textbox #281

Open
gutofurlan opened this issue May 13, 2023 · 1 comment
Open

Generate QrCOde with textbox #281

gutofurlan opened this issue May 13, 2023 · 1 comment

Comments

@gutofurlan
Copy link

Hello, today I generate qur code with image and it works, very well, but I would like to add a box where I can put a number, or text, is there any way?
Meu código:

$image =  QrCode::format('png')
                         ->merge($logo, 0.3, true)
                         ->size(500)->errorCorrection('H')
                         ->generate($url);
        Storage::put("convites/{$convite->id}.png", $image);

I want to put the frame as in the image, but where "Scam me" is, I can put something of mine ...

Does anyone know how to place?
Thanks
Captura de Tela 2023-05-13 às 16 56 26

@YazeedAlsaif
Copy link

I believe this should be done on the view side, this package will generate the QR code but the rest can be done with your view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants