Post by CartIdeas » Sun May 03, 2020 10:28 pm

I am developing a new opencart extension which require a third party library and in my development environment I have downloaded this library using Composer. I have this library now in Vendor folder. My question is how do I distribute this extension to customer through marketplace along with this library? I cannot ask the customer to run the composer command. Do I need to pack the installed.json file along with my extension, ocmod and this library files?

User avatar
New member

Posts

Joined
Sun Dec 04, 2016 1:32 pm

Post by thekrotek » Sun May 03, 2020 11:05 pm

Of course, you need to add the library to the package.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by CartIdeas » Mon May 04, 2020 12:17 am

thekrotek wrote:
Sun May 03, 2020 11:05 pm
Of course, you need to add the library to the package.
Thanks. I can include the library to the package. But if I include composer.json file also in the package, it would overwrite the existing file. If I don't include composer.json, my library won't be visible. How do we manage this

User avatar
New member

Posts

Joined
Sun Dec 04, 2016 1:32 pm
Who is online

Users browsing this forum: No registered users and 2 guests