PHPackages                             blueshoon/bedrock - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. blueshoon/bedrock

ActiveProject[Utility &amp; Helpers](/categories/utility)

blueshoon/bedrock
=================

Clone of Roots Bedrock WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

1.12.8(6y ago)09MITPHPPHP &gt;=7.1

Since Dec 18Pushed 5y agoCompare

[ Source](https://github.com/blueshoon/bedrock)[ Packagist](https://packagist.org/packages/blueshoon/bedrock)[ Docs](https://roots.io/bedrock/)[ RSS](/packages/blueshoon-bedrock/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (85)Used By (0)

 [ ![Bedrock](https://camo.githubusercontent.com/f2375853612cf550307d648da4899ad98dfa9c55e6654b7391e3ea9defcbfe41/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f6c6f676f2d626564726f636b2e737667) ](https://roots.io/bedrock/)

 [ ![MIT License](https://camo.githubusercontent.com/ff1cc793999dedad378f0b39e20c661c4aa238f26481ed456f5b9b9da085592c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f726f6f74732f626564726f636b3f636f6c6f723d253233353235646463267374796c653d666c61742d737175617265) ](LICENSE.md) [ ![Packagist](https://camo.githubusercontent.com/43c0b95ecb968e1f4642fe19468e20caec6e20acc273b308b293b7efbd202ac6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6f74732f626564726f636b2e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/roots/bedrock) [ ![Build Status](https://camo.githubusercontent.com/efdd0ed1d2624beadabfc995a687e4587a4eccff1e680c875ac74f40ffd5eaa2/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f6275696c642f67682f726f6f74732f626564726f636b3f7374796c653d666c61742d737175617265) ](https://circleci.com/gh/roots/bedrock) [ ![Follow Roots](https://camo.githubusercontent.com/2b8273856233cb73467f46b7b730c721f9b4d3b1751394e4127246f862720f34/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f726f6f747377702e7376673f7374796c653d666c61742d73717561726526636f6c6f723d316461316632) ](https://twitter.com/rootswp)

 **A modern WordPress stack**
 Built with ❤️

 [Official Website](https://roots.io) | [Documentation](https://roots.io/docs/bedrock/master/installation/) | [Change Log](CHANGELOG.md)

Supporting
----------

[](#supporting)

**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:

[![Donate via Patreon](https://camo.githubusercontent.com/c9895651a920df0d02d69468efb726854d5f7388f51f2a82d04aa2a316868541/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d70617472656f6e2d6f72616e67652e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617472656f6e253232)](https://www.patreon.com/rootsdev)[![Donate via PayPal](https://camo.githubusercontent.com/e9dbfb6fa3fe88e12cc4e9af4cbafffb9b6cd116e78dd0d917f051f947618a8c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d70617970616c2d626c75652e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/rootsdev)

Overview
--------

[](#overview)

Bedrock is a modern WordPress stack that helps you get started with the best development tools and project structure.

Much of the philosophy behind Bedrock is inspired by the [Twelve-Factor App](http://12factor.net/) methodology including the [WordPress specific version](https://roots.io/twelve-factor-wordpress/).

Features
--------

[](#features)

- Better folder structure
- Dependency management with [Composer](https://getcomposer.org)
- Easy WordPress configuration with environment specific files
- Environment variables with [Dotenv](https://github.com/vlucas/phpdotenv)
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
- Enhanced security (separated web root and secure passwords with [wp-password-bcrypt](https://github.com/roots/wp-password-bcrypt))

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1
- Composer - [Install](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)

Installation
------------

[](#installation)

1. Create a new project: ```
    $ composer create-project roots/bedrock
    ```
2. Update environment variables in the `.env` file. Wrap values that may contain non-alphanumeric characters with quotes, or they may be incorrectly parsed.

- Database variables
    - `DB_NAME` - Database name
    - `DB_USER` - Database user
    - `DB_PASSWORD` - Database password
    - `DB_HOST` - Database host
    - Optionally, you can define `DATABASE_URL` for using a DSN instead of using the variables above (e.g. `mysql://user:password@127.0.0.1:3306/db_name`)
- `WP_ENV` - Set to environment (`development`, `staging`, `production`)
- `WP_HOME` - Full URL to WordPress home ()
- `WP_SITEURL` - Full URL to WordPress including subdirectory ()
- `AUTH_KEY`, `SECURE_AUTH_KEY`, `LOGGED_IN_KEY`, `NONCE_KEY`, `AUTH_SALT`, `SECURE_AUTH_SALT`, `LOGGED_IN_SALT`, `NONCE_SALT`
    - Generate with [wp-cli-dotenv-command](https://github.com/aaemnnosttv/wp-cli-dotenv-command)
    - Generate with [our WordPress salts generator](https://roots.io/salts.html)

3. Add theme(s) in `web/app/themes/` as you would for a normal WordPress site
4. Set the document root on your webserver to Bedrock's `web` folder: `/path/to/site/web/`
5. Access WordPress admin at `https://example.com/wp/wp-admin/`

Documentation
-------------

[](#documentation)

Bedrock documentation is available at .

Contributing
------------

[](#contributing)

Contributions are welcome from everyone. We have [contributing guidelines](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md) to help you get started.

Bedrock sponsors
----------------

[](#bedrock-sponsors)

Help support our open-source development efforts by [becoming a patron](https://www.patreon.com/rootsdev).

[![Kinsta](https://camo.githubusercontent.com/efddc19d1bac22ad7023a1590d7fd98658a3abc0a6d5e3ac01f7927b02b3d1f2/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f6b696e7374612e737667)](https://kinsta.com/?kaid=OFDHAJIXUDIV) [![KM Digital](https://camo.githubusercontent.com/a43c3d99df2424b5db9767c5c1af52bcebc5ce3685ede00f8472bcb1e4dd7792/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f6b6d2d6469676974616c2e737667)](https://k-m.com/) [![Carrot](https://camo.githubusercontent.com/a65d309f3418223caa092f5ed2aa85ff2fed82a001b56f4c9f396891c6c7152c/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f636172726f742e737667)](https://carrot.com/)

Community
---------

[](#community)

Keep track of development and community news.

- Participate on the [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Read and subscribe to the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)
- Listen to the [Roots Radio podcast](https://roots.io/podcast/)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~27 days

Total

76

Last Release

2437d ago

PHP version history (6 changes)1.0.0PHP &gt;=5.3.0

1.1.0PHP &gt;=5.3.2

1.3.0PHP &gt;=5.4

1.4.5PHP &gt;=5.5

1.7.0PHP &gt;=5.6

1.11.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f13dd908ec9dd570756f2965ea9c948014329666a7b9951f137d4522876d73b?d=identicon)[fred-blueshoon](/maintainers/fred-blueshoon)

---

Top Contributors

[![swalkinshaw](https://avatars.githubusercontent.com/u/295605?v=4)](https://github.com/swalkinshaw "swalkinshaw (201 commits)")[![retlehs](https://avatars.githubusercontent.com/u/115911?v=4)](https://github.com/retlehs "retlehs (142 commits)")[![austinpray](https://avatars.githubusercontent.com/u/2192970?v=4)](https://github.com/austinpray "austinpray (70 commits)")[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (26 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (16 commits)")[![dependencies-bot](https://avatars.githubusercontent.com/u/28956703?v=4)](https://github.com/dependencies-bot "dependencies-bot (12 commits)")[![tristanbes](https://avatars.githubusercontent.com/u/346010?v=4)](https://github.com/tristanbes "tristanbes (9 commits)")[![aaemnnosttv](https://avatars.githubusercontent.com/u/1621608?v=4)](https://github.com/aaemnnosttv "aaemnnosttv (8 commits)")[![QWp6t](https://avatars.githubusercontent.com/u/2104321?v=4)](https://github.com/QWp6t "QWp6t (8 commits)")[![alexsomeoddpilot](https://avatars.githubusercontent.com/u/5588412?v=4)](https://github.com/alexsomeoddpilot "alexsomeoddpilot (5 commits)")[![knowler](https://avatars.githubusercontent.com/u/6908001?v=4)](https://github.com/knowler "knowler (5 commits)")[![tangrufus](https://avatars.githubusercontent.com/u/2259834?v=4)](https://github.com/tangrufus "tangrufus (5 commits)")[![kellymears](https://avatars.githubusercontent.com/u/397606?v=4)](https://github.com/kellymears "kellymears (3 commits)")[![Foxaii](https://avatars.githubusercontent.com/u/1690407?v=4)](https://github.com/Foxaii "Foxaii (3 commits)")[![JulienMelissas](https://avatars.githubusercontent.com/u/2278221?v=4)](https://github.com/JulienMelissas "JulienMelissas (3 commits)")[![louim](https://avatars.githubusercontent.com/u/923718?v=4)](https://github.com/louim "louim (2 commits)")[![BrandonShutter](https://avatars.githubusercontent.com/u/2022885?v=4)](https://github.com/BrandonShutter "BrandonShutter (2 commits)")[![devkinetic](https://avatars.githubusercontent.com/u/123363?v=4)](https://github.com/devkinetic "devkinetic (2 commits)")[![etcook](https://avatars.githubusercontent.com/u/2329397?v=4)](https://github.com/etcook "etcook (2 commits)")[![fredriksundstrom](https://avatars.githubusercontent.com/u/1112071?v=4)](https://github.com/fredriksundstrom "fredriksundstrom (2 commits)")

---

Tags

composerwordpresswprootsbedrockwp-config

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/blueshoon-bedrock/health.svg)

```
[![Health](https://phpackages.com/badges/blueshoon-bedrock/health.svg)](https://phpackages.com/packages/blueshoon-bedrock)
```

###  Alternatives

[roots/bedrock

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

6.5k441.8k2](/packages/roots-bedrock)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
