A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.

Welcome to the WooCommerce monorepo on GitHub. Here you can find all of the plugins, packages, and tools used in the development of the core WooCommerce plugin as well as WooCommerce extensions. You can browse the source, look at open issues, contribute code, and keep track of ongoing development.
We recommend all developers follow the WooCommerce development blog to stay up to date with everything happening in the project. You can also follow @DevelopWoo on X (formerly Twitter) for the latest development updates.
To get up and running within the WooCommerce Monorepo, you will need to make sure that you have installed all of the prerequisites.
package.json (devEngines.runtime, mirrored in .nvmrc); PNPM fails with an error when you run it on a different version. A Node version manager such as NVM is optional, but still handy for installing Node itself.Note: A POSIX-compliant operating system (e.g., Linux, macOS) is assumed. If you're working on a Windows machine, the recommended approach is to use WSL (available since Windows 10).
Once you've installed all prerequisites, the following will prepare all of the build outputs necessary for development:
# Install the PHP and Composer dependencies for all of the plugins, packages, and tools.
# PNPM fails with an error when the Node version differs from the pinned one (see Prerequisites).
pnpm install --frozen-lockfile
# Build all of the plugins, packages, and tools in the monorepo
pnpm build
Each plugin, package, and tool has its own package.json file containing project-specific dependencies and scripts. Most projects also contain a README.md file with any project-specific setup instructions and documentation.
internal- prefix.If you'd like to learn more about how our monorepo works, please check out this guide here.
To disclose a security issue to our team, please submit a report via HackerOne here.
This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place through the appropriate channels:
NOTE: Unfortunately, we are unable to honor support requests in issues on this repository; as a result, any requests submitted in this manner will be closed.
For peer to peer support, real-time announcements, and office hours, please join our slack community!
As an open-source project, we rely on community contributions to continue to improve WooCommerce. To get started, check out our Contributing guide for a quick reference of common development commands, or visit the Contributing to Woo docs for broader contribution guidelines.
good first issue 또는 help wanted 이슈가 없습니다.
This is a quick reference for common commands used during development. For broader contribution guidelines, see the Contributing to WooCommerce docs. For detailed development notes, see DEVELOPMENT.md.
A POSIX-compliant OS (Linux, macOS) is assumed. On Windows, use WSL.
# Install JS and PHP dependencies.
# PNPM automatically uses the pinned Node version for the scripts it runs.
pnpm install
This is a PNPM workspaces monorepo. Use --filter to target individual projects:
# Build WooCommerce Core + deps
pnpm --filter='@woocommerce/plugin-woocommerce' build
# Lint a specific package
pnpm --filter='@woocommerce/components' lint
# Build all JS packages
pnpm --filter='./packages/js/*' build
# Build only what changed
pnpm --filter='[HEAD^1]' build
See DEVELOPMENT.md for more filtering examples and tools/README.md for monorepo infrastructure details.
The repository uses @wordpress/env (wp-env) for local development environments.
cd plugins/woocommerce
# Start the environment (creates it if needed, pulls latest config)
pnpm env:dev
# Stop the environment
pnpm env:stop
# Remove all environment files
pnpm env:destroy
# Build everything
pnpm build
# Build WooCommerce Core
pnpm --filter='@woocommerce/plugin-woocommerce' build
# Create woocommerce.zip
pnpm --filter='@woocommerce/plugin-woocommerce' build:zip
For active development with file watching:
# Watch and rebuild on changes
pnpm --filter='@woocommerce/plugin-woocommerce' watch:build
# PHP unit tests (requires wp-env)
cd plugins/woocommerce
# Start the test environment
pnpm env:test
# Run all PHP unit tests
pnpm test:unit:env
# Run a specific test class
pnpm test:unit:env -- --filter=TestClassName
# Watch mode
pnpm test:unit:env:watch
# E2E tests (requires Docker)
cd plugins/woocommerce
# Start the E2E environment
pnpm env:e2e
# Run Playwright E2E tests
pnpm test:e2e
# JavaScript tests
pnpm --filter='@woocommerce/admin-library' test:js
pnpm --filter='@woocommerce/block-library' test:js
See the unit tests README, E2E tests README, and performance tests README for full details.
# Lint everything
pnpm lint
# Lint changed PHP files
pnpm --filter='@woocommerce/plugin-woocommerce' lint:php:changes
# Lint PHP changes on branch (vs trunk)
pnpm --filter='@woocommerce/plugin-woocommerce' lint:php:changes:branch
# Auto-fix PHP lint issues
pnpm --filter='@woocommerce/plugin-woocommerce' lint:php:fix -- path/to/file.php
# Lint JS/TS (ESLint)
pnpm --filter='@woocommerce/plugin-woocommerce' lint:lang:js
PHPStan:
cd plugins/woocommerce
composer exec -- phpstan analyse path/to/File.php --memory-limit=2G
See the Coding Standards docs and the WordPress Coding Standards for conventions.
Every PR that changes code in a project requires a changelog entry:
# Interactive prompt for WooCommerce Core
pnpm --filter='@woocommerce/plugin-woocommerce' changelog add
Replace @woocommerce/plugin-woocommerce with the relevant package name if your changes affect a different project.
For the full PR workflow, changelog conventions, and coding guidelines, see Contributing to WooCommerce and the contribution docs.
plugins/ # WordPress plugins
woocommerce/ # WooCommerce Core plugin
src/ # Modern PHP (PSR-4, DI container)
includes/ # Legacy PHP
client/admin/ # Admin React/TypeScript app
tests/ # PHP unit, E2E, performance tests
packages/ # Shared libraries
js/ # JavaScript/TypeScript packages
php/ # PHP packages
tools/ # Monorepo utilities and scripts
See plugins/woocommerce/src/README.md for modern PHP architecture and tools/README.md for monorepo tooling.