WordPress Boilerplate for Git

A WordPress Boilerplate Platform with Composer to Load Plugins. Perfect tool to separate staging and production environments.

I recently found bedrock a WordPress Boilerplate for Git.

Some reasons why I thought it was an important tool for WordPress Developers

  • Better folder structure
  • Dependency management via Composer
  • Easy WordPress configuration with environment-specific files
  • Environment variables with Dotenv
  • Autoloader for mu-plugins (us regular plugins as mu-plugins)
  • Enhanced security

To get started it is very simple

composer create-project roots/bedrock

After that, you have configuration files for the database for staging and production

For the full documentation check their website: https://docs.roots.io/bedrock/master/installation/#what-is-bedrock