Better WordPress project structure

The organization of Bedrock is similar to putting WordPress in its own subdirectory but with some improvements, including renaming wp-content/ to app/.

├── composer.json
├── config
│   ├── application.php
│   └── environments
│       ├── development.php
│       ├── staging.php
│       └── production.php
├── vendor
└── web
    ├── app
    │   ├── mu-plugins
    │   ├── plugins
    │   ├── themes
    │   └── uploads
    ├── wp-config.php
    ├── index.php
    └── wp

Dependency management with Composer

Manage your WordPress install and plugins with Composer, a PHP dependency manager. Composer will make development more reliable, help with team collaboration, and it helps maintain a better Git repository.

Easy WordPress configuration

Environment specific configuration files and environment variables with Dotenv.

Enhanced security

Isolated web root to limit access to non-web files and more secure passwords through wp-password-bcrypt.

Bedrock 1.8.8
Last commit
Merge pull request #348 from roots/wp-4.9.4 Update to WordPress 4.9.4
Last updated
February 7, 2018

Bedrock professionalizes WordPress development and should be the default starting point for any WordPress site.

Robbert vt Westende

Bedrock is doing a huge service to the WordPress community, and I can see it being adopted as the standard for WordPress development. Hopefully as more people adopt it, the developer community at large will view WordPress sites on similar footing as more "professional" platforms.

Daniel Strunk

Why Bedrock, not a regular WordPress install?

Join over 5,300 subscribers on our newsletter to get the latest Roots updates, along with occasional tips on building better WordPress sites.

Looking for WordPress plugin recommendations, the newest modern WordPress projects, and general web development tips and articles?

Follow @rootswp on Twitter