Support the ongoing development of →
Configuration Requests Installation
Last updated 1 year ago.

Just solved my problem.

For future reference here's my code

$app->get('/', function () use ($app) {

$qr_code = new QrCode();
$image = $qr_code->setText("José Camilo Fernandes Coelho")

$content = $image->get("png");

return response($content)
	->header('Content-Disposition','inline; filename="qrcodeimg.png"')
	->header('Cache-Control','max-age=60, must-revalidate');


Sign in to participate in this thread!


Your banner here too?

jcamilo93 jcamilo93 Joined 27 Dec 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.