# roots/bedrock

WordPress boilerplate with Composer and Git, easier configuration, and an improved folder structure

Repository: https://github.com/roots/bedrock
Canonical: https://ross.abutalabs.com/products/bedrock
Homepage: https://roots.io/bedrock/
Language: PHP
License: MIT
License Family: permissive
Topics: composer, wordpress, bedrock, wordpress-boilerplate, php, wordpress-starter, wp-composer, wordpress-composer, wp-packages
Last push: 2026-08-25T17:46:58+00:00

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

## Adoption (not part of the score)
Stars 6558, forks 1171 (observed 2026-08-28T04:09:45.187934+00:00)

## What it is
Bedrock is a WordPress boilerplate that manages WordPress core, plugins, and themes as Composer dependencies with Git-friendly workflows. It provides an improved folder structure, environment-specific configuration via Dotenv, and enhanced security defaults.

## Use cases
- set up a WordPress project managed with Composer and Git
- install WordPress plugins as Composer dependencies
- use environment variables for WordPress configuration
- get a cleaner WordPress folder structure for team development
- manage WordPress core updates through Composer
- improve WordPress security with environment-specific config

## When to choose
- you are a developer building a WordPress site in a team with version control
- you want dependency management for WordPress core, plugins, and themes
- you want a modern, structured WordPress project layout with .env configuration

## When to avoid
- you want a simple one-click WordPress install for a non-developer
- your site depends on plugins that hard-code wp-content paths or assume default directory structure
- you prefer the standard WordPress admin-driven plugin installation workflow

## Facets
- artifact type: learning-resource
- maturity: stable
- function: package-manager, developer-tools, configuration-management, security
- domain: web-development, cms, developer-tools
- platform: php, self-hosted, cli
- tags: wordpress, composer, boilerplate, dotenv, git, wp-packages, project-structure, boilerplate, web-server

## Member repositories
- roots/bedrock (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.187934+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-30T08:31:20.466202+00:00, confidence not recorded.
  - readme: https://github.com/roots/bedrock (fetched 2026-08-28T04:09:45.187934+00:00, sha 1fcfbd34aae5)
  - homepage: https://roots.io/bedrock/ (fetched 2026-08-29T08:40:25.843139+00:00, sha dff409587e6e)
  - site_page: https://roots.io/getting-started (fetched 2026-08-29T08:40:25.852435+00:00, sha 2c839b4638c6)
  - site_page: https://roots.io/bedrock/docs/installation (fetched 2026-08-29T08:40:25.856322+00:00, sha c186d99ff376)
  - site_page: https://roots.io/bedrock/docs/compatibility (fetched 2026-08-29T08:40:25.858251+00:00, sha d3f47cd208df)
  - site_page: https://roots.io/docs (fetched 2026-08-29T08:40:25.860095+00:00, sha be1d015444f1)
  - site_page: https://roots.io/about (fetched 2026-08-29T08:40:25.863138+00:00, sha b600ee39807e)
  - site_page: https://discourse.roots.io/tag/releases (fetched 2026-08-29T08:40:25.854453+00:00, sha bf8ef4a5d382)
  - site_page: https://discourse.roots.io/tag/releases/61 (fetched 2026-08-29T08:40:25.861720+00:00, sha 2c57ff02d8dc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
