roots/bedrock

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

Fund package maintenance!
roots

Installs: 377 536

Dependents: 2

Suggesters: 1

Security: 0

Stars: 6 212

Watchers: 236

Forks: 1 172

Open Issues: 7

Type:project

1.26.0 2024-12-14 16:12 UTC

README

Bedrock

Packagist Installs roots/wordpress Packagist Downloads Build Status Follow Roots

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

Website    Documentation    Releases    Community

Sponsors

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.

Carrot WordPress.com Worksite Safety Itineris Bonsai FusePress

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

Getting Started

See the Bedrock installation documentation.

Stay Connected