Hi am trying to install dompdf in Magento 2.4.1 using composer v1 but no success enter image description here


2 Answers 2


Can you try the below command :

composer require weprovide/magento2-module-dompdf --ignore-platform-reqs

Try the following:

composer global require --no-update ""weprovide/magento2-module-dompdf""

composer global update

If you still get the error, the version conflict cannot be solved and you can't install all your tools globally. Install dompdf in your project instead, or in a separate directory

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.