Big news! Unlock is now Anystack. Learn more

Anystack

Private PHP Composer Packages

Use Anystack as your private Composer repository and let your users 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`

1{
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 }

Reliable, fast, and secure

Secure high-speed downloads, allowing you to easily distribute your software to users without worrying about slow download speeds or security issues.

Easy to configure access policies

Control access by configuring license activations, automatic repository access management, version, and time constraint, and expiration consequences.

Unique repository URL

Each of your products will have a beautiful, unique repository URL that is easy to remember.

Mono repository support

You can connect multiple GitHub repositories to a single product and distribute your product using multiple packages.

Grant repository access

You can choose to allow customers to have access to your private GitHub repository. Access is automatically granted and revoked based on their license policy.

Access logs

Keep track of your product usage across all your customers. See exactly which files have been accessed by your customers.

1. Build and publish your release on GitHub

Take the hassle out of manual uploads. Simply build and publish your release on GitHub, and let Anystack handle the rest.

2. Anystack will automatically import and process your release assets

Anystack streamlines the process of importing and processing your release assets, so you can focus on what's important. Automate the tedious parts of releasing with Anystack.

3. Release assets are securely distributed to license holders

Keep your release assets safe and secure with Anystack. Our platform ensures that your assets are only distributed to authorized license holders, giving you peace of mind.

4. Users can download and install new releases straight from their terminal

Say goodbye to manual downloads and copy & paste driven development. Our platform allows users to easily download and install new releases straight from the terminal, making the process quick and painless.

Trusted by great developers and companies

I've been a user of Anystack for a couple of months now and I have to say that it does everything that I want, and it does it all well.

We sell a Laravel package that makes it easy for developers to build flexible filter systems. I originally hand-rolled a distribution system for Composer that worked ok, but was a huge pain and lacked a lot of the features that Anystack has by default. Anystack's licensing system is well thought through and robust. It makes it easy for me to add people to special licensing schemes easily (early access, etc), and it syncs to the Composer distribution without any effort on my part. It also handles time-based, or major-release-based expiration, which is perfect for us.

Creating a new release is simple too, all you do is tag it on GitHub. That's it. ¯\_(ツ)_/¯

The best part though is that Anystack can handle payment for you if you want. It's like a hosted Stripe Checkout for selling your code. As a developer, I can focus on writing my software and not have to worry about writing software to sell my software.

Aaron Francis
Co-founder Hammerstone & Educator at Planet Scale

As the founder, I might be a bit biased, but I built Anystack to focus on creating amazing products instead of worrying about the complexities of billing systems, releases, updates, and more. I still use it daily to sell and distribute my products.

Philo Hermans
Founder at Anystack

I’m using Anystack to sell my PHP-packages for Filament PHP via Composer. Self-hosting a private Composer server is notoriously difficult, but Anystack made this a breeze. Anystack provides me with peace of mind that billing and licensing is in good hands. Recommended!

Ralph J. Smit
Software Engineer

Frequently asked questions

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

What is Composer?
PHP Composer is a package manager for the PHP programming language. It allows users to manage the dependencies (or external libraries) that their PHP projects depend on, and automatically installs and updates them as needed. Composer helps users avoid the hassle of manually managing and installing dependencies, which can save time and reduce the potential for errors. It is widely used in the PHP community and is a key tool for many PHP developers.
Which versions of Composer does Anystack support?
Anystack 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, Anystack 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.