Hey,
I am trying to generate a QR code in the frontend with the QR code Tool mentioned in the Kirby reference. QrCode | Kirby CMS
Can anyone give mine a hint on how to generate and display a QR code with let’s say a link.
Thanks in advance.
Maurice
Hey,
I am trying to generate a QR code in the frontend with the QR code Tool mentioned in the Kirby reference. QrCode | Kirby CMS
Can anyone give mine a hint on how to generate and display a QR code with let’s say a link.
Thanks in advance.
Maurice
$code = new \Kirby\Image\QrCode('https://google.com');
print_r($code->toSvg());
Thank you for the fast response. "\Kirby\Image" in the first line was missing in my code. ![]()