To enable calculation of Composer package metadata, from the Administration Module, go to Repositories | Repositories | Local and set PHP Composer to be the Package Type when you create your local Composer repository.
Composer v2 Support
Starting with release 7.24.1, Artifactory supports PHP Composer V2, which features faster download times and enhanced performance. As a result, the Enable Composer V1 Indexing option is disabled by default for new repositories, but you can still enable V1 indexing if required. (Existing Composer repositories created before release 7.24.1 continue to use V1 indexing as before.) Bear in mind that a change to this setting requires a full reindexing.
.