How to include plugins NOT hosted on WP Repo but on a private Git?

Hi everyone,

As I go through the great doc :slight_smile: , I’m wondering how one can included custom WP plugins which are not publicly availabe through the WP’ plugins repo.

Correct me if I’m wrong but right now, Bedrock allow us to:


Let’s say I have:

  • A custom plugin hosted on a private git repository
  • Access to this git repo is restricted (only available through SSH)

How can I tell Composer to require it?

I hope my question is not too Noob :hatched_chick:
Thank you for your help!

There’s been a few threads about this that you can look through

https://discourse.roots.io/search?q=private%20repo%20composer