how to load qr library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: how to load qr library (/showthread.php?tid=76993) |
how to load qr library - nilra89 - 07-10-2020 I am trying to use in my controller a library that generates qr code, however I don't know how to call libraries in codeigniter 4 I tried different ways how usar App \ Libraries \ ciqrcode; or as indicated by github Code: $this->load->library('ciqrcode'); however it generates the following error Code: "Undefined property: App\\Controllers\\Api_sistem::$ciqrcode", RE: how to load qr library - jreklund - 07-11-2020 Hi, that one are tailored for CodeIgniter 3, and will not work outside the box. There are no need to search for specifics packages anymore for CodeIgniter, just use a generic one that can be installed and used with Composer. Like this one: https://github.com/endroid/qr-code PS. I deleted all your x-large text, no one likes that. It's just irritating. |