Mahento 2: How to incldue third party Library in package for sending to client installed by composer?

magento.stackexchange https://magento.stackexchange.com/questions/250962

  •  06-02-2021
  •  | 
  •  

Question

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.

Was it helpful?

Solution 2

I found the solution by this way:

How to install TCPDF lib without composer in Magento 2?

It was quit simple but tricky.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top