Set Composer Remote Repositories to Work With Drupal 7 and 8 Package Type

JFrog Artifactory Documentation

ft:sourceType
Paligo

From Artifactory version 7.24.1 (SaaS users) and higher supports Composer V2 allowing download of Drupal version 7 and 8 files from remote repositories.

To define a remote repository to proxy Drupal files as well as the public Composer Packagist repository follow these steps.

  1. From the Administration module, go to Repositories | Repositories | Remote | Basic tab and set PHP Composer to be its Package Type.

  2. Set the URL to https://ftp.drupal.org/.

  3. Under the PHP Composer Settings section, set the Registry URL field to https://packages.drupal.org/