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 🙂
Be the first to comment.