Hello toghether,
i want to use a third party class in my project to generate qr codes.
There is an old libary "qrlib" which is not namespaced but it works :-)
So I added the class "QRcode" to the $classmap Array in the app/config/autoload.php
PHP Code:
$classmap = [
'QRcode' => APPPATH .'third_party/qrcode/qrlib.php'
];
My question now.. how can i use it? If I use it in a Controller like
I get the error "QRcode" could not be found. I thought it is autoloaded? Also I tried to load it manually $this->load() but this function does not longer exists in CI4
I think this is a simpe question because its about how to use the autoload of CI4 but I dind't found any information in the manual.
Best regards,
Niklas