packageurls

PHP packages on your domain.

Use a hostname you own in your dependencies, and point it at your git forge.

What composer sees

composer config repositories.acme vcs https://php.example.com/org/repo
composer require org/repo

Examples use a repository named org/repo. Replace it with your own repository and required package metadata.

How setup works

Create an account, choose your hostname and forge, prove DNS control with a TXT record, and point the CNAME at php.packageurls.com. Wait for the certificate before trying your vanity URL.

Limits to know

Composer uses a VCS repository, not a Packagist mirror. The repository must contain composer.json with the package name you require. Keep the package version constraints and composer.lock appropriate to your application.

Package URLs does not host a package registry or proxy git content. Your package manager authenticates with your forge. A hostname maps the first owner/repo path segments to the forge; nested GitLab groups are unsupported.

Explore all supported languages