Deploy Composer Packages

JFrog Artifactory Documentation

JFrog Artifactory
Content Type
User Guide

The Composer client does not provide a way to deploy packages and relies on a source control repository to host the Composer package code. To deploy a Composer package into Artifactory, you need to use the Artifactory REST API or the Web UI.JFrog REST APIs

A Composer package is a simple archive, usually zip or a tar.gz file, which contains your project code as well as a composer.json file describing the package.


For Artifactory to index packages you upload, each package must have its version specified. There are three ways to specify the package version:

  • Include the version attribute in the package composer.json file

  • Set a composer.version property when deploying a package via REST (or on an existing package)

  • Use the version field when deploying via the UI