Set Composer Remote Repository to Download from git.drupalcode.org

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

You can configure remote repositories to download PHP Composer packages directly from git.drupalcode.org.

  1. In the Administration module, select Repositories.

  2. Select an existing Composer repository from the Remote list, or create a new remote Composer repository. For more information, see Create a Composer Repository.

  3. On the Basic configuration tab, under Composer Settings, configure the following fields:

    • Git providers: Select Custom.

    • Download URL: Enter https://git.drupalcode.org/{0}/{1}/-/archive/{2}.{3}

      Note

      Do not change the numbers in the URL. They correspond to orgName, packageName, commitID, and format.

  4. Click Save.