# roots/trellis

WordPress LEMP stack with PHP 8.3, Composer, WP-CLI and more

Repository: https://github.com/roots/trellis
Canonical: https://ross.abutalabs.com/products/roots-trellis
Homepage: https://roots.io/trellis/
Language: Jinja
License: MIT
License Family: permissive
Topics: ansible, bedrock, wordpress, wp-cli, trellis, trellis-cli, nginx, lima-vm, wordpress-nginx
Last push: 2026-08-25T00:35:15+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 79, longevity 100
- inputs: {"age_days": 4522, "days_push": 9, "days_rel": 140, "gap_med": 17, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2575, forks 590 (observed 2026-08-28T04:07:02.163604+00:00)

## What it is
Trellis is an Ansible-powered LEMP stack for WordPress that provisions production-ready servers (Nginx, PHP 8.3, MariaDB, SSL) and provides isolated local development environments via Lima VMs. It includes zero-downtime deploys for Bedrock-based WordPress sites and is managed through the trellis-cli command-line tool.

## Use cases
- provision a production WordPress server with nginx and php 8.3
- set up a local wordpress development environment in a vm
- deploy wordpress sites with zero downtime
- automate ssl certificates with lets encrypt for wordpress
- self-host wordpress on digitalocean or hetzner
- manage wordpress server configuration with ansible
- create a new bedrock wordpress project from the command line

## When to choose
- you want full control over your WordPress hosting instead of managed hosting
- you use Bedrock and want development/production parity
- you need repeatable, automated server provisioning and deploys
- you prefer Ansible-based infrastructure as code for WordPress

## When to avoid
- you don't use Bedrock for your WordPress projects
- you want a simple shared host or managed WordPress hosting
- you're not comfortable with Ansible, YAML configuration, and the command line
- you need a non-WordPress LEMP stack

## Facets
- artifact type: infra-config
- maturity: active
- function: infrastructure-as-code, deployment, configuration-management, cli, self-hosted
- domain: self-hosted, web-development, cloud-computing
- platform: cli
- tags: wordpress, lemp-stack, ansible, nginx, php-8, wp-cli, bedrock, zero-downtime-deploys, lets-encrypt, server-provisioning, lima-vm, trellis-cli, devops, automation, linux, ubuntu

## Member repositories
- roots/trellis (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.163604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:22:44.852026+00:00, confidence not recorded.
  - readme: https://github.com/roots/trellis (fetched 2026-08-28T04:07:02.163604+00:00, sha 0e329255949b)
  - homepage: https://roots.io/trellis/ (fetched 2026-08-29T10:05:29.770306+00:00, sha 5ce1a2190ad5)
  - site_page: https://roots.io/trellis/docs/installation (fetched 2026-08-29T10:05:29.783052+00:00, sha 6259c9e184b0)
  - site_page: https://roots.io/getting-started (fetched 2026-08-29T10:05:29.779304+00:00, sha 2c839b4638c6)
  - site_page: https://roots.io/docs (fetched 2026-08-29T10:05:29.784753+00:00, sha be1d015444f1)
  - site_page: https://roots.io/about (fetched 2026-08-29T10:05:29.788664+00:00, sha b600ee39807e)
  - site_page: https://discourse.roots.io/tag/releases (fetched 2026-08-29T10:05:29.781380+00:00, sha bf8ef4a5d382)
  - site_page: https://discourse.roots.io/tag/releases/61 (fetched 2026-08-29T10:05:29.786619+00:00, sha 2c57ff02d8dc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
