Stack Exchange Network

Stack Exchange network consists of 174 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 [3rd-party-library]

Questions about Magento 3rd party libraries

1
vote
0answers
10 views

How can I add a 3rd party dependency in a custom module?

I'm building a module which requires a 3rd party library, how can I make the 3rd party library available to the module without without adding it to the composer.json magento root file? I added it ...
0
votes
1answer
51 views

Copy files from /vendor/* to another server? Mailchimp installation without composer

My shared hosting doesn't allow me to use composer install (php memory limit error). So I had to install to my clone magento2 on xampp server. http://wiki.ebizmarts.com/installation-guide-m4m2 below ...
0
votes
1answer
32 views

Magento 2 | How to include third party library by adding at 'lib/'?

This is not about adding by composer. This is about downloading and then using it. For Example: I download TCPDF Library and follows these steps it should be installed and usable but it doesn't works ...
0
votes
1answer
48 views

How to install TCPDF lib without composer in Magento 2?

Followed these steps: Download TCPDF from https://github.com/tecnickcom/tcpdf Change the name of the file root directory after extraction to TCPDF Inside this directory, there is a tcpdf.php file, ...
0
votes
2answers
31 views

setup:di:compile ignores third party type definition (Monolog)

I have a DI configuration for a custom exception handler: <type name="My\Logger\Handler\ExceptionHandler"> <arguments> <argument name="formatter" xsi:type="object">My\...
0
votes
2answers
25 views

how-to-include-library-using-helper

how to include library in magento 2 using helper as below is the class for magento 1 that is Mage::getBaseDir , <?php namespace vendor\Module\Model; require_once(Mage::getBaseDir('lib') '/...
5
votes
4answers
79 views

How to use lib classes in controller

I have a controller Callback.php in folder app/code/Dots/Socialfeeds/Controller/Social in custom module Dots_Socialfeeds. I am also using an third party library file Linkedin.php which I have placed ...
4
votes
1answer
121 views

How to add JS library to Magento 2?

I need to add the jsPDF library to my Magento 2 Luma theme, so I can use it on the checkout success page.
0
votes
0answers
52 views

Add jQuery library to “prettify” dropdown/selects

I would like to implement this jquery plugin to create more beautiful select elements. The library itself is put in place and it basically works as expected. It's magic is triggered with a simple $('...
0
votes
0answers
44 views

How make or use adapter in magento 2?

For example I want to use abraham's library for twitter in a specific module that I develop, I would like more the explanation of the routes where to create the adapterinterface or my clas magento ...
0
votes
1answer
302 views

How to include third party library files to custom module without composer

I need to include Youtube API library files for my custom module. Without composer, it should be done. Any suggestions?
0
votes
1answer
487 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 ...
0
votes
1answer
428 views

How to use Dompdf for Magento2 step by step

I want to convert my html file to pdf using Dompdf in my custom module, right now i already update my module composer.json like this: "require" : { "dompdf/dompdf": "0.8.1" }, "autoload": { "...
0
votes
1answer
334 views

Magento 2.2 Add custom library file TCPDF

I need to tcpdf (http://tcpdf.org/) library in magento2.2. I have added this library in Magento2.1.9 in lib/internal/TCPDF folder. In that, I have rename tcpdf.php class to TCPDF.php and tcpdf class ...
1
vote
0answers
51 views

How to include external .inc file in Magento 2 Custom Module

I am trying to integrate magento 2 with an erp system. I want to include one .inc file in my module. Can anyone guide me, which is the best place to include this file and how to achieve it.
0
votes
2answers
118 views

Plugin for Magento 2 site using TaxJar API in a drop ship model to address sales tax

Is there a plugin that will work with the TaxJar API to support a drop ship model where we can set our site to collect tax or not based on if a manufacture requires us to collect sales tax? We are ...
1
vote
1answer
121 views

How to add js libraries to Magento 2 extension via composer?

I'm wondering is there a way to add third-party js libraries to Magento 2 via Composer? The main idea of this is to separate our modules from those dependencies and to have them required via Composer ...
0
votes
1answer
192 views

Best place for 3rd party libraries

I'm developing very small modules and would like to put all javascript 3rd party libraries in one place to better maintain/update them and to avoid duplicating across modules. According to the ...
1
vote
1answer
119 views

Failed to load 3rd party library in Magento 2

I have a 3rd party library and i put it inside lib/internal folder like this : but when i call the function in my custom module helper/data.php , i got an error undefined function, here's the helper/...
15
votes
4answers
1k views

How to use ComponentRegistrar::LIBRARY in Magento 2

We have 4 types of components in Magento 2, as I have been using three of them, but my question is how to use const LIBRARY = 'library'; component. As name implies, this is something to include third ...
1
vote
1answer
261 views

3rd party jQuery JS and custom JS together

I read many many stackechange threads and internet pages, and still do not get how to do such a simple task as using Javascript. I try my luck... I use 3rd party jQuery Plugins (bxslider, modaal) I ...
1
vote
0answers
130 views

Magento 2 include xmlToArrayParser php library and use it in module

I want to include below php library in my custom module https://github.com/Robhub/trocutc/blob/master/incl/xmlToArrayParser.class.php and want to use the same in controller or helper. I have ...
2
votes
0answers
29 views

Magento 2 Extension - lib folder or through composer [duplicate]

I am using a third party module for Mailchimp. I've been able to install it through composer and also used it through directory lib in the magento 2 root. As installing through composer is quite ...
1
vote
0answers
75 views

Magento - PDF preflight

I need to programm a extension that checks a PDF our customer uploads for things like the right format (in terms of size for example 210 x 297 mm) or if there is 3 mm bleed on the PDF. I really dont ...
1
vote
1answer
3k views

Magento 2 external library folder

I am trying to keep the google library files but confused on the destination folder. In magento 1.9 we can kept in lib folder. Can any one please give the solution for that
6
votes
2answers
878 views

installing & using reactjs in magento 1.9

Im trying to run reactjs library in my magento 1.9 website. reactjs can be run in php server using v8js-php consequently it could work. many reactjs components are installed using composer: a- its ...
7
votes
1answer
245 views

Impact of Google Chrome blocking Flash at the end of the year

As some of you may know Google Chrome will start blocking Flash in December I know that the backend uploaded of M1 is using Flash. What is the impact of no flash for Magento ? What other features ...
2
votes
1answer
235 views

Add files to core or to local? (Not override)

I am installing the RedSys module http://www.redsys.es following their guide. At some point of their guide they say the following: 4.Se deben colocar los ficheros de la carpeta “Source”, incluido ...
3
votes
2answers
1k views

Magento - include multiple external libraries to Admin Controller actions

I am working on import price of products using xls, xlsx, ods and csv files. For that i need to read these file, i had use seperate external library files to read those files. It works well in my ...
0
votes
1answer
84 views

Include Authorizenet library into Magento 2

I have been trying for a long time on how to include this library into my custom module. I have tried this answer but no use. May be I have put it wrong. { "name": "Vendor/module-name", "...
2
votes
1answer
39 views

Getting Error login via Linkedin in Magento 1.9 [closed]

Hi I am using Social Login plugin in my site. I have added LinkedIn App id and Secret Key but Getting Below Error. Any one help me, which link I have to set to Authorized Redirect URLs: in LinkedIn ...
0
votes
1answer
804 views

How to use dompdf in magento

I am trying to use dompdf in magento for printing invoice. So I am trying to include dompdf in magento but its not working. I used following code in Mage.php before include_once "Varien/Autoload.php"...
2
votes
3answers
4k views

Include external PHP library in Magento 2 module

I am trying to include an external PHP library inside my Magento 2 module, specifically the eKomi PHP library (https://github.com/ekomi-dev/ekomi-api). I have added the PHP files into the module so ...
3
votes
0answers
68 views

Magento 2 install and ship 3rd party (php)library with custom module [duplicate]

I am creating a magento 2 module that requires a 3rd party library, but have no idea how do I install it with the module. This is my module's composer.json file. { "name": "namespace/name", "...