Skip to content

Instantly share code, notes, and snippets.

@brasizza
Created September 21, 2023 05:27
Show Gist options
  • Select an option

  • Save brasizza/9fce20f66ff8c21dfe4f7658ea9d96b4 to your computer and use it in GitHub Desktop.

Select an option

Save brasizza/9fce20f66ff8c21dfe4f7658ea9d96b4 to your computer and use it in GitHub Desktop.

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.

KM Digital Carrot WordPress.com Pantheon Worksite Safety Copia Digital

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment