roots/bedrock

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

Maintainers

Package info

github.com/roots/bedrock

Homepage

Forum

Type:project

pkg:composer/roots/bedrock

Fund package maintenance!

roots

Statistics

Installs: 441 079

Dependents: 2

Suggesters: 1

Stars: 6 490

Open Issues: 6

1.30.1 2026-03-19 18:30 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

Roots is an independent open source org, supported only by developers like you. Your sponsorship funds WP Packages and the entire Roots ecosystem, and keeps them independent. Support us by purchasing Radicle or sponsoring us on GitHub — sponsors get access to our private Discord.

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.

Community

Keep track of development and community news.