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

Fund package maintenance!

Installs: 340 865

Dependents: 1

Suggesters: 1

Security: 0

Stars: 6 012

Watchers: 242

Forks: 1 178

Open Issues: 15


1.23.2 2024-01-30 21:15 UTC



Packagist Installs roots/wordpress Packagist Downloads 68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e2e7376673f75726c3d68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f726f6f74732f626564726f636b2f6d61737465722f636f6d706f7365722e6a736f6e266c6162656c3d776f72647072657373266c6f676f3d726f6f7473266c6f676f436f6c6f723d77686974652671756572793d242e726571756972655b253232726f6f74732f776f726470726573732532325d26636f6c6f72423d32623330373226636f6c6f72413d353235646463267374796c653d666c61742d737175617265 Build Status Follow Roots

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

Website    Documentation    Releases    Community


Bedrock is an open source project and completely free to use. If you've benefited from our projects and would like to support our future endeavors, please consider sponsoring Roots.

KM Digital Carrot Worksite Safety Copia Digital Freave


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)
  • Enhanced security (separated web root and secure passwords with wp-password-bcrypt)

Getting Started

See the Bedrock installation documentation.

Stay Connected