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 🙂
Categories:
Magento2
View Comments
Comment or Ask a Question
Quick Links