Bedrock

screenshot of Bedrock

Bedrock

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

Overview:

Bedrock is an open-source WordPress boilerplate designed for developers who want to manage their projects using Git and Composer. Inspired by the Twelve-Factor App methodology, Bedrock incorporates WordPress-specific versions of its principles. It offers features such as better folder structure, dependency management with Composer, easy WordPress configuration with environment-specific files, environment variables with Dotenv, an autoloader for mu-plugins, enhanced security, and more.

Features:

  • Better folder structure: Bedrock provides an improved folder structure for organizing WordPress projects.
  • Dependency management with Composer: Developers can easily manage dependencies using Composer, making it simple to add or update packages.
  • Easy WordPress configuration with environment specific files: Bedrock allows for easy configuration of WordPress settings based on different environments.
  • Environment variables with Dotenv: Dotenv enables the use of environment variables to configure the WordPress environment.
  • Autoloader for mu-plugins: Bedrock allows regular plugins to be used as mu-plugins, providing greater flexibility.
  • Enhanced security: Bedrock separates the web root from the WordPress core files and uses wp-password-bcrypt to secure passwords.

Installation:

To install Bedrock, follow these steps:

  1. Download the Bedrock repository.
  2. Extract the downloaded ZIP file to your desired directory.
  3. In the extracted directory, open the .env file and configure the WordPress environment variables according to your needs.
  4. Run composer install to install the project dependencies.
  5. Point your web server to the web directory as the document root.
  6. Access your website through the configured domain or localhost.

Summary:

Bedrock is an open-source WordPress boilerplate that allows developers to manage their projects effectively using Git and Composer. It offers a range of features, including improved folder structure, dependency management with Composer, easy WordPress configuration with environment-specific files, and enhanced security. By following the installation guide, developers can quickly set up and start using Bedrock for their WordPress projects.