roots/bedrock

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

Package info

github.com/roots/bedrock

Homepage

Forum

Type:project

pkg:composer/roots/bedrock

Fund package maintenance!

roots

Statistics

Installs: 463 268

Dependents: 2

Suggesters: 1

Stars: 6 532

Open Issues: 5

1.31.0 2026-05-21 15:12 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 54609563dd3f2aa16e31187bf54b580b8d8f5697

composerwordpresswprootsbedrockwp-configwordpress-composerwp-composer

This package is auto-updated.

Last update: 2026-06-23 17:31:39 UTC


README

👁 Bedrock

👁 Packagist Installs
👁 roots/wordpress Packagist Downloads
👁 Image
👁 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.