SimpleSoftwareIO / simple-qrcode

An easy-to-use PHP QrCode generator with first-party support for Laravel.
https://www.simplesoftware.io/simple-qrcode
MIT License
2.75k stars 397 forks source link

Add support for using GD library #299

Open raditzfarhan opened 7 months ago

raditzfarhan commented 7 months ago

There is no support for Imagick for PHP 8.2 and above in Windows, thus making the package unusable for newer projects that are using minimum PHP 8.2. This PR add supports to use the GDLibRenderer which available on Bacon/BaconQrCode if the Imagick extension is not supported.

eina84 commented 7 months ago

Just FYI, I did managed to get Imagick & the QR Code library working with PHP 8.2.12 in Windows 11. Some articles that helped me: https://github.com/Imagick/imagick/issues/573 https://github.com/Imagick/imagick/issues/575 https://phpext.phptools.online/extension/images/imagick-121

raditzfarhan commented 7 months ago

Just FYI, I did managed to get Imagick & the QR Code library working with PHP 8.2.12 in Windows 11. Some articles that helped me: Imagick/imagick#573 Imagick/imagick#575 https://phpext.phptools.online/extension/images/imagick-121

Thanks for pointing it out. Will check on these. Thanks!