Webkul
Services
Technologies Bagisto QloApps
iOS Android SAP BigCommerce Wix
Trusted by
Samsung Intel Toyota Walmart Disney Nokia Nestlé Decathlon
See all customers
Back to Top
DEV

How to install packages using composer from local directory

How to install packages using composer from local directory

To install packages using composer from your local directory, please use the following commands-
Check latest magento extensions.

$ composer config repositories.repo-name path /home/Downloads/DemoPackage
$ composer require company/package

You will get the ‘company/package’ name from the composer.json file inside your package

{
  "name":"company/package",
  "description":"this is test package"
}

That’s it.

Happy coding 🙂

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home