0

I have created an extension now I want to install this using composer command in the vendor folder.

1

If you want to move your module to the vendor folder then you have to host your package to Hosting on GitHub and Packagist or a private repository.

If you want to use a private repository then you have to:

Add your repository URL to composer.json:

{
    "repositories": [
        {
            "type": "composer",
            "url": [repository url here]
        }
    ]
}

Also, you need to have your package Magento package validation tool

Please follow https://devdocs.magento.com/guides/v2.2/extension-dev-guide/package/package_module.html to implement your package.

1
  • thanks, I already created git repository for this but how I can install this in vendor folder – Amit Naraniwal Aug 17 '18 at 16:20

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.