Setup (in Artifactory)

ARTIFACTORY: How to integrate PHP composer with Artifactory

AuthorFullName__c
Rasul Imanov
articleNumber
000005317
ft:sourceType
Salesforce
FirstPublishedDate
2022-06-23T08:45:32Z
lastModifiedDate
2022-06-23
VersionNumber
3
To get started:
  • Go to the top right corner of the screen and click the "Welcome, admin" dropdown
  • Select Quick Setup
  • Select Composer
  • Enter your repository prefix and repositories are created

Fine tuning: When setting up your Remote PHP Repository, it is really important to navigate over to the repository
(Administration -> Repositories -> Repositories -> Remote -> <repo-key>) and edit the Registry URL that Artifactory resolves remote artifacts from.

User-added image

Also navigate over to your Virtual PHP Repository ((Administration -> Repositories -> Repositories -> Virtual -> <repo-key>) and confirm that your Virtual Repository resolves from local and remote. You may also add additional repositories under this list if you would like to resolve them from different remote locations.