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

1 Answer 1


From the official documentation: http://devdocs.magento.com/guides/v2.0/architecture/archi_perspectives/components/modules/mod_conventions.html

If you want to use a library the recommended location for the component is <your Magento install dir>/lib/<Vendor_Library>

If you're having trouble regarding the autoloader I suggest you look up those Magento StackExchange Q&A:

  • 1
    Thank you Raphael , How can i call those library in my helper
    – Allamsetti
    Commented Aug 31, 2016 at 14:21
  • @Ramesh I've added some links to other questions on SE that could help u Commented Aug 31, 2016 at 14:22
  • 1
    @RaphaelatDigitalPianism if I will put library into <your Magento install dir>/lib/<Vendor_Library>. how to use and into my extension. Commented Aug 24, 2017 at 5:35

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.