This package is abandoned and no longer maintained. No replacement package was suggested.

3.3.0 2017-10-14 19:36 UTC

This package is auto-updated.

Last update: 2021-08-28 06:47:32 UTC


This project is now archived. It is better to use @wordpress/env.

WordPress Environment for PHP Built-in Server.

Getting Started

1. Install PHP, composer, WP-CLI, mariaDB ( or MySQL ) and jq, cURL.

for OSX

PHP and cURL are pre-installed.

$ brew install composer wp-cli mariadb jq 

2. Create Project

$ composer create-project torounit/composer-wp-dev-kit path/to/project

3. Start Development!

$ cd path/to/project
$ composer create-env
$ vi .env.json
$ mysql.server start
$ composer provision

./bin/ create database and install WordPress if is not installed.

Start WordPress!

$ composer server

4. For Production.

Create and Edit config.php.

$ composer create-production-config
$ vi config.php

Directory & Files.

  • . Document root.
  • ./wp WordPress core files.
  • ./wp-content Custom wp-content.
  • ./wp-content/mu-plugins/vendor for composer library.
  • .env.json setting your environment.


  • composer provision Provisioning WordPress.
  • composer server Start wp server and open browser.
  • composer import-theme-unit-test Import theme unit test data.
  • composer create-env create .env.json
  • composer create-production-config create config.php