QR Code Generator


An auxiliary component for generating a QR code based on the transmitted string.
The phpqrcode library is used.

To create the desired QR code, it is enough to call the method

scqrcode::qrcode($data,$file);
where $data is the text to encrypt, and $file is the full path to the file to save the result.
Usage example:
scqrcode::qrcode('example',PATH.'/upload/test.png');
Scope of the component:
Output of the authorization code from the Telegram bot
Authorization in the mobile application
Encoding a link to open on a mobile device
Encoding of any information to obtain it on a mobile device by simple scanning.

Go back
11-01-2023, 15:34