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.
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:
versionattribute in the package
composer.versionproperty when deploying a package via REST (or on an existing package)
Use the version field when deploying via the UI