I am trying to install mpdf using composer, but when I try command_prompt "composer require mpdf/mpdf" in my project folder, I get version 6.1 installed instead of 7.x. Any suggestions?
Windows 11
XAMPP v3.3.0
Any help appreciated!
My Answer:
composer require mpdf/mpdf, I am getting version ^6.1 instead of the latest version.
To install the latest version of mpdf using composer, you can specify the version explicitly by running the following command:
composer require mpdf/mpdf:^8.0
This will install the latest version of mpdf (version 8.0) instead of version 6.1.
Rate this post
4 of 5 based on 9654 votesComments