https://b2bzanden.github.io/satis/
Add this Composer repository to your project's composer.json file, then you can require these private packages just like you would with one from Packagist.
{
"repositories": [{
"type": "composer",
"url": "https://b2bzanden.github.io/satis/"
}],
"minimum-stability": "dev",
"prefer-stable": true
}
Pull the image:
docker pull composer/satis:latest
Run the image (with Composer cache from host):
docker run --rm --init -it \
--user $(id -u):$(id -g) \
--volume $(pwd):/build \
--volume "${COMPOSER_HOME:-$HOME/.composer}:/composer" \
composer/satis build <configuration-file> <output-directory>
<configuration-file>
=satis.json
<output-directory>
=docs
docker pull composer/satis:latest &&
docker run --rm --init -it \
--name satis \
--user $(id -u):$(id -g) \
--volume $(pwd):/build \
--volume "${COMPOSER_HOME:-$HOME/.composer}:/composer" \
composer/satis build satis.json docs &&
git add -A &&
git commit -m ":arrow_up: update dependencies" &&
git push;
Pull the latest image.