License & distribute commercial Composer packages
Securely license and distribute private PHP packages with a single API.
Want to explore Keygen? Try the demo
Ready, set, ship
From license keys to secure package distribution, we can help. Dive in with Keygen Cloud, or explore our self-hosted options.
- Protect your package with our flagship software licensing API. Add feature entitlements, restrict upgrades to specific version ranges, enforce server- and CPU-based usage limits, and more.
- Use our software distribution API as a private Composer repository. Distribute your private PHP packages to licensed users using
composer install.
cat ./composer.json { "repositories": [ { "url": "https://get.keygen.sh/demo/php", "type": "composer" } ] } composer require 'demo/private-package'# => Loading composer repositories with package information# => Authentication required (get.keygen.sh):# => Username: license# => Password: C1B6DE-39A6E3-DE1529-8559A0-4AF593-V3Trusted by over 6,000 software businesses all over the worldincluding F1000s, AI startups, SMBs, and indies









Solutions for licensing & distribution
dns Choice
Managed Keygen Cloud, or explore self-hosting.
library_books Quickstarts
Guides and API references for developers of all skill levels.
insert_chart Portal
Manage your products from an intuitive dashboard.
business Pricing
From indie to enterprise, we have options for everyone.