Visit https://getsword.com for user and developer documentation.
This repository builds a Docker installer for Sword.
The generated installer creates an up-to-date Sword project with a full Docker development environment.
To create a new Sword project, simply run this one-liner:
docker run --rm --pull=always -t -e HOST_PWD="$PWD" \
-v "$PWD":/app -v /var/run/docker.sock:/var/run/docker.sock \
ghcr.io/phpsword/installer myproject
Replace myproject
by the name of your project. Done!
Latest tag is set to the latest officially supported PHP version by WordPress. Newer beta supported PHP versions are also available.
Feel free to submit issues and pull requests.
Copyright (c) 2022-present, William Arin