* @copyright 2015 Smiley * @license MIT */ require_once '../vendor/autoload.php'; use chillerlan\QRCode\QRCode; use chillerlan\QRCode\QROptions; use chillerlan\QRCode\Output\QRImage; use chillerlan\QRCode\Output\QRImageOptions; use chillerlan\QRCode\Output\QRString; use chillerlan\QRCode\Output\QRStringOptions; $data = 'otpauth://totp/test?secret=B3JX4VCVJDVNXNZ5&issuer=chillerlan.net'; #$data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s'; #$data = 'skype://echo123'; ?>
'.(new QRCode($data, new QRString($qrStringOptions)))->output().''; ?>