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


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 Aug 31 '16 at 14:21
  • @Ramesh I've added some links to other questions on SE that could help u – Raphael at Digital Pianism Aug 31 '16 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. – Hitesh Vaghasiya Aug 24 '17 at 5:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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