Timber v2 is currently in beta, see https://github.com/mandrasch/ddev-wp-timber-v1 for an example repository of the current stable version.
🚧 Work in progress, currently broken, see issue #135 🚧
See more experiments: https://my-ddev-lab.mandrasch.eu/
Clone this repo, then:
ddev start
ddev wp core download
# Finish installation in browser:
ddev launch
# Jump into DDEV container to work in sub-dir
ddev ssh
cd wp-content/themes/timber-starter-theme
composer install
exit
ddev wp theme activate timber-starter-theme/theme
ddev launch# https://ddev.readthedocs.io/en/stable/users/quickstart/#wp-cli
ddev config --project-type=wordpress
ddev start
ddev wp core download
# Finish install in browser
ddev launch
# https://timber.github.io/docs/v2
# jump into DDEV container to work with composer in sub-directory
ddev ssh
cd wp-content/themes/
composer create-project upstatement/timber-starter-theme:2.x-dev --no-dev
#TODO: why is --no-dev used in docs?
exit
# TODO: to be continued
ddev wp theme activate timber-starter-theme/themeAdded .gitignore afterwards to only track the child theme.