kartik-v / yii2-mpdf

A Yii2 wrapper component for the mPDF library which generates PDF files from UTF-8 encoded HTML.
http://demos.krajee.com/mpdf
Other
161 stars 150 forks source link

yii2-mpdf requiring QrCode #113

Closed neoacevedo closed 3 years ago

neoacevedo commented 3 years ago

Prerequisites

Steps to reproduce the issue

  1. Configure yii2-mpdf as global module as described in the README
  2. Clicked the link to render a PDF

Expected behavior and actual behavior

Configured the module and the pdf options inside the action method to render the PDF I'm getting:

Mpdf\QrCode package was not found. Install the package from Packagist with "composer require mpdf/qrcode"

Actually I don't have any QrCode request/code/whatever, but I have a barcode tag to generate it.

I was hoping to render a list in a PDF.

Environment

Dev

Browsers

Operating System

Libraries

Isolating the problem

neoacevedo commented 3 years ago

I saw the issue, is directly linked into the barcode html tag and mpdf.

Closing it.