roots/bedrock

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

Fund package maintenance!
roots

Installs: 417 350

Dependents: 2

Suggesters: 1

Security: 0

Stars: 6 402

Watchers: 233

Forks: 1 196

Open Issues: 15

Type:project

1.28.3 2025-09-30 20:04 UTC

README

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 Bonsai

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