qr-code-reader
qr-code-reader copied to clipboard
Simple PHP QR Code Reader / Decoder
Hello! Tested on Windows and passed, but on linux failed to load: Zxing\Common\HybridBinarizer because the classloader cannot find under 'common' directory. Please rename the belowing folders to correct it: src/lib/common...
If you have a transparent background png the alpha channel will failing...bugfix: class GDLuminanceSource ... ... public function GDLuminanceSource($gdImage, $width, $height) { ... for ($j = 0; $j < $height;...
Hi! Thanks in advanced for the code! I run it locally and it has no trouble. But when a uset in a Ubuntu 20.04 with nginx or amazon lambda, it...
`Deprecation Notice: Class Zxing\Qrcode\Decoder\DataMask located in ./vendor/libern/qr-code-reader/src/lib/qrcode/decoder/DataMask.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer.phar/src/Composer/Autoload/ClassMapGenerator.php:201 `  on the Github Actions...
When I run `composer update` on my Symfony application, I receive the error: ``` PHP Fatal error: require(): Failed opening required '/path/to/vendor/composer/../libern/qr-code-reader/src/lib/Common/customFunctions.php' (include_path='.:/usr/share/php') in /path/to/vendor/composer/autoload_real.php on line 69 ``` Version...
We are trying to use it with Laravel 7 and PHP7.3
`Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Type error: Too few arguments to function Libern\QRCodeReader\lib\QrReader::__construct(), 0 passed in /opt/lampp/htdocs/QR-code/app/Http/Controllers/TestController.php on line 16 and exactly 1 expected" Stacktrace: #52 Symfony\Component\Debug\Exception\FatalThrowableError in /opt/lampp/htdocs/QR-code/vendor/libern/qr-code-reader/src/lib/QrReader.php:53 #51 Libern\QRCodeReader\lib\QrReader:__construct...
``` $content = $this->qrcode($token,$path.$id); $QRCodeReader = new QRCodeReader(); $qrcode_text = $QRCodeReader->decode(base64_encode($content)); var_dump($qrcode_text); ``` 
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/fairwarning_app/vendor/libern/qr-code-reader/src/lib/IMagickLuminanceSource.php on line 63 All of my memory limits are set high. 256MB+