chillerlan / php-qrcode

A PHP QR Code generator and reader with a user-friendly API.
https://smiley.codes/qrcode/
Apache License 2.0
2.01k stars 302 forks source link

PHP 8.0 Support #54

Closed rubensbarreto closed 3 years ago

rubensbarreto commented 3 years ago

With the official release of php 8, will we have support for it?

Currently adding it using composer fails:

Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Regards,

codemasher commented 3 years ago

PHP8 is supported as of v4.2 (7.4+). In case you need to support PHP versions lower than 7.4, you can use a version switch in composer.json, like "chillerlan/php-qrcode": "^3.4 || ^4.3".