Create a Composer Repository
Navigate to the project where you want to create a repository.
On the project sidebar, choose Packages.
On the Packages page, click New repository.
In the New Package Repository window, specify repository settings:
Type: choose Composer Repository.
Name and Description: specify a repository name (it must be a unique identifier) and description.
Access: choose Public if you want unauthenticated users to be able to read from the repository. Otherwise, choose Private. Learn more
Immutable package versions: If selected, users are allowed to publish packages with the same version.
After you create the repository, click the Submit Composer Packages button to learn how to publish packages to the repostiory.
To copy the repository URL, in the top right corner click Copy repository link. For example, a URL might look like this:
https://composer.pkg.jetbrains.space/mycompany/p/projectKey/mycomposerrepo