Skip to content

mmoollllee/bedrock

 
 

Repository files navigation

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 Worksite Safety Copia Digital Freave

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.

Installation

  1. Create a new project:
    $ git clone git@github.com:mmoollllee/bedrock.git example.com
    $ cd example.com
    $ git remote rename origin bedrock
    $ git remote add origin git@github.com:mmoollllee/example.com.git
    $ git branch -M master
    $ composer install
  2. Add auth.json for composer ACF installation
  3. Setup Trellis Environment & trellis reload development
  4. Admin Login & Options

Community

Keep track of development and community news.

Stay Connected

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 64.9%
  • HTML 21.9%
  • CSS 8.9%
  • PHP 3.5%
  • SCSS 0.8%
  • Handlebars 0.0%