Repman is a free, open-source PHP private package repository manager for Composer from the makers of Buddy CI/CD. Thanks to a dedicated CDN/proxy for Packagist, Repman can speed up dependency download up to 80%.
The built-in global CDN speeds up downloading Composer dependencies from Packagist.org up to 80%. Just install the Repman plugin or update your composer.json file and you’re ready to go.
Package | Version | License |
---|---|---|
PHP | 7.4.5 | PHP License v3.01 |
PostgreSQL | 11.7 | PostgreSQL License |
Nginx | 1.14 | 2-clause BSD-like license |
Supervisor | 3.3.1 | BSD-like license |
Repman | 0.4.1 | MIT |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the Repman 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB Repman Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "buddy-repman-18-04"}' \
"https://api.digitalocean.com/v2/droplets"
After you create a Repman One-Click Droplet:
cd repman
repman.instance
with your domain name) ansible-playbook ansible/setup.yml -i ansible/inventories/local --extra-vars '{"server_hostname":"repman.instance","app_git_branch":"0.4.1"}'
Add admin user:
sudo su repman
cd /var/www/repman
bin/console repman:create:admin [email protected]