WordPress boilerplate with Composer, easier configuration, and an improved folder structure https://roots.io/bedrock/
Find a file
renovate[bot] b152967b39
fix(deps): ⬆️ bump roots/wordpress to v6.9.1 (#799)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-04 09:45:41 -06:00
.devcontainer 💚 Fix integration test (#783) 2025-09-24 12:26:53 -04:00
.github 💚 Fix integration test (#783) 2025-09-24 12:26:53 -04:00
config fix: $webroot_dir phpdoc type (#781) 2025-09-19 11:16:20 -04:00
web 🎨 PER-CS coding standards, switch from PHPCS to Pint (#749) 2024-12-14 10:44:27 -05:00
.editorconfig Editorconfig updates 2019-08-07 01:34:55 -05:00
.env.example Default to WP_DEBUG_LOG=true in development (#505) 2021-05-28 22:45:26 -04:00
.gitattributes 🔧 Add dev container (#748) 2024-12-14 10:28:29 -05:00
.gitignore 🙈 Add auth.json to .gitignore (#752) 2024-12-16 21:57:55 -05:00
composer.json fix(deps): ⬆️ bump roots/wordpress to v6.9.1 (#799) 2026-02-04 09:45:41 -06:00
composer.lock fix(deps): ⬆️ bump roots/wordpress to v6.9.1 (#799) 2026-02-04 09:45:41 -06:00
LICENSE.md 📄 Update name 2024-11-13 04:50:23 -05:00
pint.json 🎨 PER-CS coding standards, switch from PHPCS to Pint (#749) 2024-12-14 10:44:27 -05:00
README.md 📝 Update README [ci skip] 2025-10-25 10:38:44 -05:00
wp-cli.yml Revert "Require project autoloader in wp-cli.yml" (#720) 2024-05-07 12:07:30 -05:00

Bedrock

Packagist Installs roots/wordpress Packagist Downloads Build Status Follow Roots Sponsor Roots

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

Website    Documentation    Releases    Community

Support us

We're dedicated to pushing modern WordPress development forward through our open source projects, and we need your support to keep building. You can support our work by purchasing Radicle, our recommended WordPress stack, or by sponsoring us on GitHub. Every contribution directly helps us create better tools for the WordPress ecosystem.

Sponsors

Carrot WordPress.com Itineris Kinsta

Overview

Bedrock is a WordPress boilerplate for developers that want to manage their projects with Git and Composer. Much of the philosophy behind Bedrock is inspired by the Twelve-Factor App methodology, including the WordPress specific version.

  • Better folder structure
  • Dependency management with Composer
  • Easy WordPress configuration with environment specific files
  • Environment variables with Dotenv
  • Autoloader for mu-plugins (use regular plugins as mu-plugins)

Getting Started

See the Bedrock installation documentation.

Stay Connected