PHPackages                             3makkk/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. [Framework](/categories/framework)
4. /
5. 3makkk/bedrock

AbandonedProject[Framework](/categories/framework)

3makkk/bedrock
==============

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

1.8.9(8y ago)011MITPHPPHP &gt;=5.6

Since Dec 18Pushed 7y ago1 watchersCompare

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

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

[Bedrock](https://roots.io/bedrock/)
====================================

[](#bedrock)

[![Packagist](https://camo.githubusercontent.com/43c0b95ecb968e1f4642fe19468e20caec6e20acc273b308b293b7efbd202ac6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6f74732f626564726f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/roots/bedrock)[![Build Status](https://camo.githubusercontent.com/ba29f56f1c12cf9487305601f7985fe1866028454bdf90531467626f0a8fb348/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f726f6f74732f626564726f636b2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/roots/bedrock)

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

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

[](#installation)

1. Create a new project: ```
    $ composer create-project roots/bedrock
    ```
2. Update environment variables in the `.env` file:

- 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/) [![itineris](https://camo.githubusercontent.com/f18feb8a7e693968d48336da5af17e7bc4b66b87bd8e8cb7bf8a3d1ba75b9d7e/68747470733a2f2f63646e2e726f6f74732e696f2f6170702f75706c6f6164732f6974696e657269732e737667)](https://www.itineris.co.uk/)

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

Popularity5

Limited adoption so far

Community20

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

Total

57

Last Release

2956d 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/13d1f5f292177bf867f50ef8816bb029aa789f3bca63c3b7bc557f5ff1a410e4?d=identicon)[3makkk](/maintainers/3makkk)

---

Top Contributors

[![swalkinshaw](https://avatars.githubusercontent.com/u/295605?v=4)](https://github.com/swalkinshaw "swalkinshaw (185 commits)")[![retlehs](https://avatars.githubusercontent.com/u/115911?v=4)](https://github.com/retlehs "retlehs (114 commits)")[![austinpray](https://avatars.githubusercontent.com/u/2192970?v=4)](https://github.com/austinpray "austinpray (66 commits)")[![dependencies-bot](https://avatars.githubusercontent.com/u/28956703?v=4)](https://github.com/dependencies-bot "dependencies-bot (10 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 (7 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)")[![Foxaii](https://avatars.githubusercontent.com/u/1690407?v=4)](https://github.com/Foxaii "Foxaii (3 commits)")[![BrandonShutter](https://avatars.githubusercontent.com/u/2022885?v=4)](https://github.com/BrandonShutter "BrandonShutter (2 commits)")[![starise](https://avatars.githubusercontent.com/u/2684482?v=4)](https://github.com/starise "starise (2 commits)")[![etcook](https://avatars.githubusercontent.com/u/2329397?v=4)](https://github.com/etcook "etcook (2 commits)")[![rasmusbe](https://avatars.githubusercontent.com/u/2124386?v=4)](https://github.com/rasmusbe "rasmusbe (2 commits)")[![fredriksundstrom](https://avatars.githubusercontent.com/u/1112071?v=4)](https://github.com/fredriksundstrom "fredriksundstrom (2 commits)")[![louim](https://avatars.githubusercontent.com/u/923718?v=4)](https://github.com/louim "louim (2 commits)")[![paultibbetts](https://avatars.githubusercontent.com/u/2053583?v=4)](https://github.com/paultibbetts "paultibbetts (1 commits)")[![8ig8](https://avatars.githubusercontent.com/u/241335?v=4)](https://github.com/8ig8 "8ig8 (1 commits)")[![eastmanenator](https://avatars.githubusercontent.com/u/70497?v=4)](https://github.com/eastmanenator "eastmanenator (1 commits)")[![kix](https://avatars.githubusercontent.com/u/345754?v=4)](https://github.com/kix "kix (1 commits)")

---

Tags

composerwordpressstackwprootsvagrantbedrock

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[ronilaukkarinen/dudestack

A modern WordPress stack

1131.2k](/packages/ronilaukkarinen-dudestack)

PHPackages © 2026

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