PHPackages                             ralfhortt/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. ralfhortt/bedrock

ActiveProject

ralfhortt/bedrock
=================

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

1.8.3(8y ago)121MITPHPPHP &gt;=5.6CI failing

Since Dec 18Pushed 3mo ago1 watchersCompare

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

READMEChangelogDependencies (6)Versions (54)Used By (0)

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

 [![Packagist Installs](https://camo.githubusercontent.com/5fc5ad3acc12d187bd8097ad5a3dc5689e456bf2004f115d0f87ee6c2be0dbad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6f74732f626564726f636b3f6c6162656c3d70726f6a656374732532306372656174656426636f6c6f72423d32623330373226636f6c6f72413d353235646463267374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/bedrock) [![roots/wordpress Packagist Downloads](https://camo.githubusercontent.com/fdffd7cf353c722d959184bf83ac9066e32a125fdfa310f8f1d8bba6b2116c02/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6f74732f776f726470726573733f6c6162656c3d726f6f7473253246776f72647072657373253230646f776e6c6f616473266c6f676f3d726f6f7473266c6f676f436f6c6f723d776869746526636f6c6f72423d32623330373226636f6c6f72413d353235646463267374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/wordpress) [![](https://camo.githubusercontent.com/ffca5637ab5491785a5bd5fb3e1e741ef893d8863532b6f095b91e277d4fa35a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e2e7376673f75726c3d68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f726f6f74732f626564726f636b2f6d61737465722f636f6d706f7365722e6a736f6e266c6162656c3d776f72647072657373266c6f676f3d726f6f7473266c6f676f436f6c6f723d77686974652671756572793d242e726571756972655b253232726f6f74732f776f726470726573732532325d26636f6c6f72423d32623330373226636f6c6f72413d353235646463267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/ffca5637ab5491785a5bd5fb3e1e741ef893d8863532b6f095b91e277d4fa35a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e2e7376673f75726c3d68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f726f6f74732f626564726f636b2f6d61737465722f636f6d706f7365722e6a736f6e266c6162656c3d776f72647072657373266c6f676f3d726f6f7473266c6f676f436f6c6f723d77686974652671756572793d242e726571756972655b253232726f6f74732f776f726470726573732532325d26636f6c6f72423d32623330373226636f6c6f72413d353235646463267374796c653d666c61742d737175617265) [![Build Status](https://camo.githubusercontent.com/f1400cbf84cf5ffda0a0c56f1a4c5d0c8093711600bc668dad664d88e04f5e3f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f726f6f74732f626564726f636b2f63692e796d6c3f6272616e63683d6d6173746572266c6f676f3d676974687562266c6162656c3d4349267374796c653d666c61742d737175617265)](https://github.com/roots/bedrock/actions/workflows/ci.yml) [![Follow Roots](https://camo.githubusercontent.com/222256dbdeac58e77f017d847dca30ff4cab027cdf3abfec8e5bfd59de240547/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f666f6c6c6f7725323040726f6f747377702d3164613166323f6c6f676f3d74776974746572266c6f676f436f6c6f723d666666666666266d6573736167653d267374796c653d666c61742d737175617265)](https://twitter.com/rootswp) [![Sponsor Roots](https://camo.githubusercontent.com/31e13361135ff96d01f1eb97157d052029e6f236249996072d8b6bd60b40e9cd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f72253230726f6f74732d3532356464633f6c6f676f3d676974687562267374796c653d666c61742d737175617265266c6f676f436f6c6f723d666666666666266d6573736167653d)](https://github.com/sponsors/roots)

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

 [Website](https://roots.io/bedrock/) [Documentation](https://roots.io/bedrock/docs/installation/) [Releases](https://github.com/roots/bedrock/releases) [Community](https://discourse.roots.io/)

Support us
----------

[](#support-us)

We're dedicated to pushing modern WordPress development forward through our open source projects, and we need your support to keep building. You can support our work by purchasing [Radicle](https://roots.io/radicle/), our recommended WordPress stack, or by [sponsoring us on GitHub](https://github.com/sponsors/roots). Every contribution directly helps us create better tools for the WordPress ecosystem.

### Sponsors

[](#sponsors)

[![Carrot](https://camo.githubusercontent.com/a65d309f3418223caa092f5ed2aa85ff2fed82a001b56f4c9f396891c6c7152c/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f636172726f742e737667)](https://carrot.com/) [![WordPress.com](https://camo.githubusercontent.com/4daf2fea17fd7850dc12840a19cca8ece900f7eafcf8abb1e7c5dab08635fb6c/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f776f726470726573732e737667)](https://wordpress.com/) [![Itineris](https://camo.githubusercontent.com/f18feb8a7e693968d48336da5af17e7bc4b66b87bd8e8cb7bf8a3d1ba75b9d7e/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f6974696e657269732e737667)](https://www.itineris.co.uk/) [![Bonsai](https://camo.githubusercontent.com/95ca7ca82d274484facbef65363e90586314b294c5797c50387b994536727a9c/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f626f6e7361692e737667)](https://bonsai.so/)

Overview
--------

[](#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](http://12factor.net/) methodology, including the [WordPress specific version](https://roots.io/twelve-factor-wordpress/).

- 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)

Getting Started
---------------

[](#getting-started)

See the [Bedrock installation documentation](https://roots.io/bedrock/docs/installation/).

Stay Connected
--------------

[](#stay-connected)

- Join us on Discord by [sponsoring us on GitHub](https://github.com/sponsors/roots)
- Participate on [Roots Discourse](https://discourse.roots.io/)
- Follow [@rootswp on Twitter](https://twitter.com/rootswp)
- Read the [Roots Blog](https://roots.io/blog/)
- Subscribe to the [Roots Newsletter](https://roots.io/newsletter/)

###  Health Score

40

—

FairBetter than 87% of packages

Maintenance56

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity72

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 ~28 days

Recently: every ~41 days

Total

51

Last Release

3112d ago

PHP version history (5 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

### Community

Maintainers

![](https://www.gravatar.com/avatar/45d54752dcf3da868ffe4a5ad2b876d6acb911fd914700b52e4d4777ff7d4a02?d=identicon)[Ralf Hortt](/maintainers/Ralf%20Hortt)

---

Top Contributors

[![retlehs](https://avatars.githubusercontent.com/u/115911?v=4)](https://github.com/retlehs "retlehs (216 commits)")[![swalkinshaw](https://avatars.githubusercontent.com/u/295605?v=4)](https://github.com/swalkinshaw "swalkinshaw (209 commits)")[![austinpray](https://avatars.githubusercontent.com/u/2192970?v=4)](https://github.com/austinpray "austinpray (71 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (45 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (32 commits)")[![Log1x](https://avatars.githubusercontent.com/u/5745907?v=4)](https://github.com/Log1x "Log1x (26 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (22 commits)")[![dependencies-bot](https://avatars.githubusercontent.com/u/28956703?v=4)](https://github.com/dependencies-bot "dependencies-bot (12 commits)")[![QWp6t](https://avatars.githubusercontent.com/u/2104321?v=4)](https://github.com/QWp6t "QWp6t (11 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)")[![tangrufus](https://avatars.githubusercontent.com/u/2259834?v=4)](https://github.com/tangrufus "tangrufus (6 commits)")[![knowler](https://avatars.githubusercontent.com/u/6908001?v=4)](https://github.com/knowler "knowler (5 commits)")[![alexsomeoddpilot](https://avatars.githubusercontent.com/u/5588412?v=4)](https://github.com/alexsomeoddpilot "alexsomeoddpilot (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)")[![Horttcore](https://avatars.githubusercontent.com/u/503252?v=4)](https://github.com/Horttcore "Horttcore (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)")[![huubl](https://avatars.githubusercontent.com/u/50170696?v=4)](https://github.com/huubl "huubl (2 commits)")

---

Tags

composerwordpressstackwprootsvagrantbedrock

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[roots/bedrock

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

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

A modern WordPress stack

1131.2k](/packages/ronilaukkarinen-dudestack)

PHPackages © 2026

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