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

Can't install on Latest PHP 7.3.11. #99

Closed anburocky3 closed 4 years ago

anburocky3 commented 4 years ago

Prerequisites

Steps to reproduce the issue

1. 2. 3.

Expected behavior and actual behavior

When I follow those steps, I see...

I was expecting...

Environment

Browsers

Operating System

Libraries

Isolating the problem

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/83533234-can-t-install-on-latest-php-7-3-11?utm_campaign=plugin&utm_content=tracker%2F7843555&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F7843555&utm_medium=issues&utm_source=github).
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

anburocky3 commented 4 years ago

No reply from maintainers... Is th project dead?

kasoft commented 4 years ago

Check your composer Settings to be sure to Install Verion 1.0.5 (!) With mpdf Version 7.1.0 you're fine with PHP 7.3

kartik-v commented 4 years ago

The mpdf library dependency is:

"mpdf/mpdf": "~8.0

which should work with PHP 7.x and later. Check your composer settings and dependencies.

ashrafakl commented 4 years ago

@kartik-v the mpdf in the latest release (1.05) setting is :

"mpdf/mpdf": "~7.0

kartik-v commented 4 years ago

It works with PHP 7.x without issues - can you retry updating via composer to the latest version v1.0.6. The version 1.0.6 includes support exclusively for mpdf v8.0 and up.