PHPackages                             cdk-comp/cdkrock - 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. cdk-comp/cdkrock

ActiveProject[Framework](/categories/framework)

cdk-comp/cdkrock
================

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

1.0.0(7y ago)272MITPHPPHP &gt;=5.6

Since May 16Pushed 7y ago3 watchersCompare

[ Source](https://github.com/cdk-comp/cdkrock)[ Packagist](https://packagist.org/packages/cdk-comp/cdkrock)[ Docs](https://roots.io/bedrock/)[ RSS](/packages/cdk-comp-cdkrock/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (9)Versions (3)Used By (0)

CDKrock based on - [Bedrock](https://roots.io/bedrock/)
=======================================================

[](#cdkrock-based-on---bedrock)

[![Packagist](https://camo.githubusercontent.com/50b267c7c0f9505d168dee596e01b7c3f335806847097380d3c71f4a78baa890/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63646b2d636f6d702f63646b726f636b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cdk-comp/cdkrock)[![Build Status](https://camo.githubusercontent.com/39cc4304bf531b827b2fcdacaf1b521717df10b10753d958673ef276c03c7dca/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f63646b2d636f6d702f63646b726f636b2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/cdk-comp/cdkrock)

CDKrock/Bedrock is a modern WordPress stack that helps you get started with the best development tools and project structure. This is clone of Roots/Bedrock with default WordPress 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](http://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.0
- Composer - [Install](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)

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

[](#installation)

1. Create a new project in a new folder for your project:

`composer create-project cdk-comp/cdkrock your-project-folder-name`

2. Update environment variables in `.env` file:

- `DB_NAME` - Database name
- `DB_USER` - Database user
- `DB_PASSWORD` - Database password
- `DB_HOST` - Database host
- `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`

If you want to automatically generate the security keys (assuming you have wp-cli installed locally) you can use the very handy [wp-cli-dotenv-command](https://github.com/aaemnnosttv/wp-cli-dotenv-command):

```
  wp package install aaemnnosttv/wp-cli-dotenv-command

  wp dotenv salts regenerate

```

Or, you can cut and paste from the [Roots WordPress Salt Generator](https://roots.io/salts.html).

3. Add theme(s) in `web/wp-content/themes` as you would for a normal WordPress site.
4. Set your site vhost document root to `/path/to/site/web/` (`/path/to/site/current/web/` if using deploys)
5. Access WP admin at `http://example.com/wp-admin`

Deploys
-------

[](#deploys)

- [Wordmove](https://github.com/welaika/wordmove)

Any other deployment method can be used as well with one requirement:

`composer install` must be run as part of the deploy process.

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

[](#documentation)

Bedrock documentation is available at .

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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

2753d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/273111?v=4)[The Chemistry Development Kit](/maintainers/cdk)[@cdk](https://github.com/cdk)

---

Top Contributors

[![DimaMinka](https://avatars.githubusercontent.com/u/12497991?v=4)](https://github.com/DimaMinka "DimaMinka (2 commits)")

---

Tags

bedrockcomposerwordpressstackwprootsvagrantbedrockcdk

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/cdk-comp-cdkrock/health.svg)

```
[![Health](https://phpackages.com/badges/cdk-comp-cdkrock/health.svg)](https://phpackages.com/packages/cdk-comp-cdkrock)
```

###  Alternatives

[ronilaukkarinen/dudestack

A modern WordPress stack

1131.2k](/packages/ronilaukkarinen-dudestack)

PHPackages © 2026

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