Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lib]

The tag has no usage guidance.

0
votes
2answers
49 views

Magento 2.3 How to include a php file in a custom module

I am using a custom module which is including a php file from lib . But it is giving error in di:compile command as - Fatal error: Cannot declare class PDFMerger, because the name is already in ...
0
votes
1answer
78 views

Magento 1.9 Override zend lib xml file?

I followed this tutorial: https://www.damianculotta.com.ar/magento/bug-en-los-locales-es-en-magento-1-y-2/ which suggested to override this file: src/lib/Zend/Locale/Data/es_419.xml. I created the new ...
0
votes
2answers
24 views

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

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 ...
0
votes
0answers
114 views

Require_once php library in magento 2

In magento 1, the following line will be used for require php lib very often require_once(Mage::getBaseDir('lib') . DS . 'test/test_submit.class.php'); How about in magento 2? - where should i ...
0
votes
1answer
631 views

How to use a library using composer in a Magento 2 module

At the moment I'm developing a module for Magento 2. I'm using a third party library ("twizo/lib-api-php") and installed it using composer. When I use a class from this library, Magento gives me the ...
1
vote
1answer
283 views

Magento 1.9 : how to ovrride in lib/Zend folder inside currency.php file

Override Magento root folder In lib/Zend/currency.php file possible or not.