Unlock Unlock

Sell, license and distribute

Private PHP Composer Packages

Use Unlock as your private Composer repository and let your user install your packages with only four lines of code.

`$ git:(main)` ^1000 composer require hammerstone/refine^500
`Loading composer repositories with package information`
`Authentication required (refine.composer.sh):`
`Username:` [email protected]
`Password:` 6b8a971e-6ba1-400f-9915-ea91604f7f0e

`./composer.json has been updated`
`- Installing hammerstone/refine (1.0.0): Extracting archive`
`Generating autoload files`
` Successfully installed hammerstone/refine`

2 "name":"laravel/laravel",
3 "type":"project",
4 "description":"The Laravel Framework.",
5 "repositories":[
6 {
7 "type":"composer",
8 "url":"https://refine.composer.sh"
9 }
10 ],
11 "require":{
12 "laravel/framework":"^8.12",
13 "hammerstone/refine":"^1.00"
14 }
15 }

A home for your packages

With Unlock's private Composer repository you can safely publish and share your packages with the entire world.

Unique repository URL

Each of your products will have a beautiful, unique repository URL

Version constraints

You can use license policies to restrict user access to specific versions.

Time constraints

You can use license policies to remove access after a specific time.

Restrict access

Restrict users to only access releases up until their expiration date.

Revoke access

Have user access revoked when their license expires.

Auto publish

Publish a new release to GitHub, and your release will be made available automatically.

Reliable, fast, and secure

Your software is securely distributed to your users via our CDN for high-speed downloads.

License activations

Require your customers to activate their licenses and track their usage across multiple applications.

Frequently asked questions

If you can't find the answer you are looking for, feel free to reach out at [email protected]

Which versions of Composer does Unlock support?
Unlock supports Composer v1 and v2. Composer v1 is officially deprecated, so we do recommend using Composer v2.
Can I distribute my code to users without Composer?
Yes, Unlock provides a hosted download page for your software where your users can download the zip archive of your code. You can also use the API to retrieve the download link.
What is composer.sh?
Composer.sh is the domain name we use to host your private repositories. This allows for easy and user-friendly repository URLs.