WordPress boilerplate with Composer, easier configuration, and an improved folder structure
Website Documentation Releases Community
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.
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)
See the Bedrock installation documentation.
This branch from roots/bedrock
git merge bedrock/master --no-commit --no-ff
Other project from this branch
git remote add bedrock git@github.com:mmoollllee/bedrock.git
git fetch bedrock
git merge bedrock/master --no-commit --no-ff --allow-unrelated-histories
- 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
- Add
auth.json
for composer ACF installation - Setup Trellis Environment &
trellis reload development
- Admin Login & Options
Keep track of development and community news.
- Join us on Discord by sponsoring us on GitHub
- Participate on Roots Discourse
- Follow @rootswp on Twitter
- Read the Roots Blog
- Subscribe to the Roots Newsletter