I've always installed extensions by default by putting all files in the directory.

I found a PDF generator which must be installed by composer.

  1. I have opened the SSH console in the magento root directory and try to run first command:

    composer config repositories.magento2-pdf-generator2 git git@github.com:EaDesgin/magento2-pdf-generator2.git

Unfortunately, get error:

  • command not found

Can anyone help me how can I install this module by composer?

enter image description here


Use like below commands.

wget https://getcomposer.org/composer.phar
php composer.phar config repositories.magento2-pdf-generator
php composer.phar require eadesignro/module-pdfgenerator

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.