QR Code for CodeIgniter 4 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31) +--- Thread: QR Code for CodeIgniter 4 (/showthread.php?tid=75890) |
QR Code for CodeIgniter 4 - arnezthe - 03-26-2020 Hello... I have a source code related to QR Code from here: PHP QRcode I put it at Library directory but I can't call it from $classmap Autoload.php. PHP Code: $classmap = ['QRcode' => APPPATH .'Library/phpqrcode/qrlib.php']; Code: include $QR_BASEDIR."qrconst.php"; Any solution or another source to integrate through composer maybe? Thank you. RE: QR Code for CodeIgniter 4 - jreklund - 03-27-2020 I would suggest you go with a more modern QR-code library, that can be installed with Composer instead. You can find a list on Github. That could possible work, but as it's from 2013, I don't even know if it are using namespace. RE: QR Code for CodeIgniter 4 - arnezthe - 03-28-2020 Thank you for your reply sir. I have using php-qrcode and install it through composer and easy to call inside CI4. He provides for PHP 7.x versions. RE: QR Code for CodeIgniter 4 - demyr - 03-03-2021 What do you think about a Javascript Qr Code generator. I have recently used this and it is superb easy. Qrious Github Page RE: QR Code for CodeIgniter 4 - kenjis - 03-03-2021 I ported codeigniter3-qrcode to CI4. https://github.com/kenjis/ci4-qrcode RE: QR Code for CodeIgniter 4 - kristianlake - 03-03-2021 I used \Sonata\GoogleAuthenticator\GoogleAuthenticator in my CI4 solution, it has enable/disable 2FA, and plugged it in to pop 2FA on login and when people try to change sensitive data. https://github.com/sonata-project/GoogleAuthenticator I ported it into my addons folder though manually. RE: QR Code for CodeIgniter 4 - thespawn_cl - 08-30-2021 (03-28-2020, 01:00 AM)arnezthe Wrote: Thank you for your reply sir. I have using php-qrcode and install it through composer and easy to call inside CI4. He provides for PHP 7.x versions. Do you have an example of how to use this? ... I could install it via composer, but I don't understand how to use it. Thank you! |