Drop-in support via Composer hasn't been tested because none exist in Packagist that have the correct config, as described in the pull request
Included Docker setup is intended for local dev use only; the image is thrown together, and I've no idea how secure it is.
Ready for lazy copy & paste.
composer create-project ajdinmore/wordpress-boilerplate wc-dev-store &&
cd wc-dev-store &&
cp wp-config.local wp-config.php &&
composer require wpackagist-plugin/woocommerce wpackagist-theme/storefront &&
vendor/bin/wp core install --skip-email \
--url=localhost \
--title='My Dev Store' \
--admin_user=admin \
--admin_password=admin \
--admin_email=admin@example.com &&
vendor/bin/wp theme activate storefront &&
vendor/bin/wp plugin activate woocommerce
docker run --rm -it \
--user $(id -u):$(id -g) \
--volume $(pwd):/app \
ajdinmore/php:8.1-dev \
composer create-project --no-install ajdinmore/wordpress-boilerplate wp-dev-site &&
cd wp-dev-site &&
cp wp-config.local wp-config.php &&
cp docker-compose.override.yaml.dist docker-compose.override.yaml &&
docker-compose up -d &&
docker-compose exec -u $(id -u):$(id -g) php bash -c \
'composer require wpackagist-theme/twentytwentytwo &&
printf "Waiting for DB..." &&
until mysql -h db -u wordpress -pwordpress wordpress -e "select 1" > /dev/null 2>&1
do sleep 1; printf "."; done && echo &&
vendor/bin/wp core install --skip-email \
--url=localhost \
--title="My Dev Site" \
--admin_user=admin \
--admin_password=admin \
--admin_email=admin@example.com' &&
docker-compose stop && docker-compose up