Bedrock
WordPress boilerplate with Composer and Git, easier configuration, and an improved folder structure
WordPress boilerplate with Composer, easier configuration, and an improved folder structure The project is written primarily in PHP, distributed under the MIT License license, first published in 2013. It has gained significant community traction with 6,535 stars and 1,176 forks on GitHub. Key topics include: bedrock, composer, php, wordpress, wordpress-boilerplate.
Support us
Roots is an independent open source org, supported only by developers like you. Your sponsorship funds WP Packages and the entire Roots ecosystem, and keeps them independent. Support us by purchasing Radicle or sponsoring us on GitHub — sponsors get access to our private Discord.
Sponsors
<a href="https://carrot.com/"><img src="https://cdn.roots.io/app/uploads/carrot.svg" alt="Carrot" height="90"></a> <a href="https://wordpress.com/"><img src="https://cdn.roots.io/app/uploads/wordpress.svg" alt="WordPress.com" height="90"></a> <a href="https://www.itineris.co.uk/"><img src="https://cdn.roots.io/app/uploads/itineris.svg" alt="Itineris" height="90"></a> <a href="https://kinsta.com/?kaid=OFDHAJIXUDIV"><img src="https://cdn.roots.io/app/uploads/kinsta.svg" alt="Kinsta" height="90"></a>
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
roots/wordpresspackage for WordPress core- WP Packages repository for WordPress plugins and themes
- Easy WordPress configuration with environment specific files
- Environment variables with Dotenv
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
Getting Started
See the Bedrock installation documentation.
Community
Keep track of development and community news.
- Join us on Discord by sponsoring us on GitHub
- Join us on Roots Discourse
- Follow @rootswp on Twitter
- Follow the Roots Blog
- Subscribe to the Roots Newsletter
Contributors
Showing top 12 contributors by commit count.
