0

I have installed a library (TCPDF) by composer and it is working fine, but I need to send full package for client. How can I add library without composer?

I followed this but autoloader is not getting aware of the library by this way.

2 Answers 2

0

You can try to use composer require tecnick.com/tcpdf to solve this problem. TCPDF is a PHP class for generating PDF documents and barcodes. More information is there https://packagist.org/packages/tecnick.com/tcpdf

1
  • Thanks @BeIVG for reply. The issue is solved, look at my answer.
    – Ajwad Syed
    Commented Nov 29, 2018 at 5:47
0

I found the solution by this way:

How to install TCPDF lib without composer in Magento 2?

It was quit simple but tricky.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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