PHPackages                             nielslange/woo-test-environment - 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. [CLI &amp; Console](/categories/cli)
4. /
5. nielslange/woo-test-environment

ActiveWp-cli-package[CLI &amp; Console](/categories/cli)

nielslange/woo-test-environment
===============================

A WP-CLI command for setting up a WooCommerce testing environment.

1.1(2y ago)1345[5 issues](https://github.com/nielslange/woo-test-environment/issues)GPL-3.0-or-laterPHPPHP &gt;=7.4

Since Aug 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/nielslange/woo-test-environment)[ Packagist](https://packagist.org/packages/nielslange/woo-test-environment)[ Docs](https://github.com/nielslange/woo-test-environment)[ RSS](/packages/nielslange-woo-test-environment/feed)WikiDiscussions trunk Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

WooCommerce Test Environment
============================

[](#woocommerce-test-environment)

WP-CLI command to spin up a WooCommerce test environment in seconds.

Quick links: [Installing](#installing) | [Usage](#usage) | [Contributing](#contributing)

Installing
----------

[](#installing)

Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.

Once you've done so, you can install this package with following command.

```
wp package install git@github.com:nielslange/woo-test-environment.git
```

Usage
-----

[](#usage)

```
wp woo-test-environment setup
```

```
wp woo-test-environment teardown
```

### Parameter

[](#parameter)

The command `wp woo-test-environment setup` can accept the following optional parameter:

- `--blocks` This parameter installs a certain WooCommerce Blocks version.
- `--gutenberg[=]` This parameter installs and activates the latest version of the Gutenberg plugin.
- `--theme=` This parameter installs and activates the latest version of a certain theme.

### Examples

[](#examples)

Installing WooCommerce only

```
wp woo-test-environment setup
```

Installing WooCommerce and WooCommerce Blocks

```
wp woo-test-environment setup --blocks
```

Installing WooCommerce, WooCommerce Blocks and Gutenberg

```
wp woo-test-environment setup --blocks --gutenberg
```

Installing WooCommerce and WooCommerce Blocks 7.3.0

```
wp woo-test-environment setup --blocks=7.3.0
```

Installing WooCommerce and WooCommerce Blocks via URL

```
wp woo-test-environment setup --blocks=https://github.com/woocommerce/woocommerce-blocks/releases/download/v7.8.2/woo-gutenberg-products-block.zip
```

Installing WooCommerce and Storefront

```
wp woo-test-environment setup --theme=storefront
```

Installing WooCommerce and Stripe

```
wp woo-test-environment setup --stripe
```

Installing WooCommerce, WooCommerce Blocks, Gutenberg and Storefront

```
wp woo-test-environment setup --blocks --gutenberg --theme=storefront
```

Installing WooCommerce, WooCommerce Blocks, Gutenberg, Stripe and Storefront

```
wp woo-test-environment setup --blocks --gutenberg --stripe --theme=storefront
```

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

[](#contributing)

Contributions are always welcome! Feel free to create a new [issue](https://github.com/nielslange/woo-test-environment/issues) or [pull request](https://github.com/nielslange/woo-test-environment/pulls).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.9% 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

Every ~446 days

Total

2

Last Release

912d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8fd379c074bd165936058e8523bb2c913f1d7dec3fee39bf13d254bebc5ce7a?d=identicon)[nielslange](/maintainers/nielslange)

---

Top Contributors

[![nielslange](https://avatars.githubusercontent.com/u/3323310?v=4)](https://github.com/nielslange "nielslange (93 commits)")[![albarin](https://avatars.githubusercontent.com/u/186112?v=4)](https://github.com/albarin "albarin (22 commits)")

---

Tags

wc-cliwoocommercewp-cli

### Embed Badge

![Health badge](/badges/nielslange-woo-test-environment/health.svg)

```
[![Health](https://phpackages.com/badges/nielslange-woo-test-environment/health.svg)](https://phpackages.com/packages/nielslange-woo-test-environment)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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