chillerlan / php-qrcode

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

QR Code Reader files and methods not included when required with composer #146

Closed 2blane closed 2 years ago

2blane commented 2 years ago

Hi, I can't call any of the QRCode reader methods like $result = (new QRCode($options))->readFromFile(__DIR__.'./eticket.pdf'); because those methods and files aren't included in the download from Composer. I even looked through the releases and none of those methods like readFromFile are included in the download. Is there something I'm missing or a certain way to include the project in composer such that it contains the QRCode reading files? Even when downloading the zip files of the releases none of the reader files are included. Thanks!

codemasher commented 2 years ago

That's because it is not released yet. If you want to use the reader you will have to install it from dev-main for now.