You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We actually use mPDF in our project and I would ask nicely if there is a preferred notation that should be used in the composer.json file?
Before we used "mpdf/mpdf": "dev-master", but apparently PHP 7.4 compatibility was not given there are. This is somehow using the latest mPDF v7? Or am I wrong?
After switching to "mpdf/mpdf": "^8.0.4", version 8.0.4 got used and since it supports PHP 7.4 our application now runs with PHP 7.4 perfectly fine.
First I want to thank you guys for this awesome free and open source PHP library!!
My question is:
Should I use:
"mpdf/mpdf": "^8.0.4", (which stands for ">=8.0.4 <9.0.0") = 8.0.4 (atm)
or better
"mpdf/mpdf": "~8.0.4", (which stands for ">=8.0.4 <8.1.0") = 8.0.4 (atm)
as both would ATM result in the same version. But which one would be more save for the future?
Does this PHP library follow the composer version and constraints rules?
I ask this as I'm a bit uncertain about if some versions above >8.1 may bring breaking changes and are not marked as such, so it would on long term be better to use the second one.
But would definitely listen to what the creators/maintainers recommend.
Best regards,
Martin
The text was updated successfully, but these errors were encountered:
Please note that the Issue tracker serves mainly as a place to report bugs and request new features as noted in Contributing guidelines. Please do not abuse it as a general questions or troubleshooting location.
We actually use mPDF in our project and I would ask nicely if there is a preferred notation that should be used in the
composer.json
file?Before we used
"mpdf/mpdf": "dev-master",
but apparently PHP 7.4 compatibility was not given there are. This is somehow using the latest mPDF v7? Or am I wrong?After switching to
"mpdf/mpdf": "^8.0.4",
version 8.0.4 got used and since it supports PHP 7.4 our application now runs with PHP 7.4 perfectly fine.First I want to thank you guys for this awesome free and open source PHP library!!
My question is:
Should I use:
"mpdf/mpdf": "^8.0.4",
(which stands for ">=8.0.4 <9.0.0
") = 8.0.4 (atm)or better
"mpdf/mpdf": "~8.0.4",
(which stands for ">=8.0.4 <8.1.0
") = 8.0.4 (atm)as both would ATM result in the same version. But which one would be more save for the future?
Does this PHP library follow the composer version and constraints rules?
I ask this as I'm a bit uncertain about if some versions above >8.1 may bring breaking changes and are not marked as such, so it would on long term be better to use the second one.
But would definitely listen to what the creators/maintainers recommend.
Best regards,
Martin
The text was updated successfully, but these errors were encountered: