I need to install the extension via the composer without GitHub and marketplace component.
Need to install with local repo directory.
I am stuck with this. Can you please help with the same?
Thanks
Not sure what you want to achieve. But: Adding a composer dependency to your project without a (remote) repository for that dependency doesn't make sense.
If you want to require a local repository you can still do this, like this: https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository Just use a file path instead of http:
If you just want to install an extension from local files or zip just copy the extension files into the app/code directory of your Magento project like this: app/code/<Vendor>/<Module>