WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure
A modern WordPress stack
Built with ❤️
Bedrock is an open source project and completely free to use.
However, the amount of effort needed to maintain and develop new features and products within the Roots ecosystem is not sustainable without proper financial backing. If you have the capability, please consider donating using the links below:
Bedrock is a modern WordPress stack that helps you get started with the best development tools and project structure.
sh $ composer create-project roots/bedrock
.envfile. Wrap values that may contain non-alphanumeric characters with quotes, or they may be incorrectly parsed.
DB_NAME- Database name
DB_USER- Database user
DB_PASSWORD- Database password
DB_HOST- Database host
DATABASE_URLfor using a DSN instead of using the variables above (e.g.
WP_ENV- Set to environment (
WP_HOME- Full URL to WordPress home (https://example.com)
WP_SITEURL- Full URL to WordPress including subdirectory (https://example.com/wp)
web/app/themes/as you would for a normal WordPress site
Bedrock documentation is available at https://roots.io/docs/bedrock/master/installation/.
Contributions are welcome from everyone. We have contributing guidelines to help you get started.
Help support our open-source development efforts by becoming a patron.
Keep track of development and community news.