项目 / woocommerce/woocommerce

woocommerce/woocommerce

行业推荐
语言 PHP标签 woocommercewordpressphpautomatticecommerceecommerce-platformhacktoberfestreactjs数据更新 2026-11-25 06:49:28 · 仓库 2026-11-24

一段话介绍

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

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
10,610累计星
10,671Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

电商交易与订单履约

适配系统:交易中台、订单履约系统 · 得分 1.4

内置商品、购物车、订单与支付对象模型,可作为电商交易中台直接改造复用。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
搭建 WooCommerce 单仓库开发环境需安装 Node.js、PNPM、PHP 7.4+ 和 Composer,Windows 用户建议使用 WSL。
特点或设计要点
monorepo 分为 `plugins`(含核心插件)、`packages`(面向社区的 PHP 与 JavaScript 包,内部依赖以 `internal-` 前缀标明)和 `tools`(多为仓库内工具与脚本)。各项目有自己的 `package.json` 和说明。安全问题请通过 [HackerOne](https://hackerone.com/automattic/) 提交。开发动态可关注 [WooCommerce development blog](https://developer.woocommerce.com/blog/)。插件说明与 WordPress 7.0 及 PHP 7.4 对齐。贡献指南见仓库 `CONTRIBUTING.md` 和 [Contributing to Woo](https://developer.woocommerce.com/docs/contribution/contributing/)。
局限和适用边界
该开发环境要求 Node.js、PNPM、PHP 7.4 及以上版本和 Composer,分别用于运行构建测试脚本、管理依赖与 PHP 包管理。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-24 · 语言 PHP · 贡献者 —
php

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 5,389 字节。

# WooCommerce Monorepo

![WooCommerce](https://woocommerce.com/wp-content/themes/woo/images/logo-woo@2x.png)

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](https://developer.woocommerce.com/blog/) to stay up to date with everything happening in the project. You can also [follow @DevelopWoo](https://x.com/DevelopWoo) on X (formerly Twitter) for the latest development updates.

## Getting Started

To get up and running within the WooCommerce Monorepo, you will need to make sure that you have installed all of the prerequisites.

### Prerequisites

-   [Node.js](https://nodejs.org/): Required to run PNPM and the monorepo's build and test scripts. Use the Node version pinned in [`package.json`](package.json) (`devEngines.runtime`, mirrored in [`.nvmrc`](.nvmrc)); PNPM fails with an error when you run it on a different version. A Node version manager such as [NVM](https://github.com/nvm-sh/nvm#installing-and-updating) is optional, but still handy for installing Node itself.
-   [PNPM](https://pnpm.io/installation): Our repository utilizes PNPM to manage project dependencies and run various scripts involved in building and testing projects.
-   [PHP 7.4+](https://www.php.net/manual/en/install.php): WooCommerce Core currently requires PHP version 7.4 or higher. It is also needed to run Composer and various project build scripts. See [troubleshooting](DEVELOPMENT.md#troubleshooting) for troubleshooting problems installing PHP.
-   [Composer](https://getcomposer.org/doc/00-intro.md): We use Composer to manage all of the dependencies for PHP packages and plugins.

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](https://learn.microsoft.com/en-us/windows/wsl/install) (available since Windows 10).

Once you've installed all prerequisites, the following will prepare all of the build outputs necessary for development:

```bash
# 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
```

## Repository Structure

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.

-   [**Plugins**](plugins): Our repository contains plugins that relate to or otherwise aid in the development of WooCommerce.
    -   [**WooCommerce Core**](plugins/woocommerce): The core WooCommerce plugin is available in the plugins directory.
-   [**Packages**](packages): Contained within the packages directory are all of the [PHP](packages/php) and [JavaScript](packages/js) provided for the community. Some of these are internal dependencies and are marked with an `internal-` prefix.
-   [**Tools**](tools): We also have a growing number of tools within our repository. Many of these are intended to be utilities and scripts for use in the monorepo, but, this directory may also contain external tools.

If you'd like to learn more about how our monorepo works, [please check out this guide here](tools/README.md).

## Reporting Security Issues

To disclose a security issue to our team, [please submit a report via HackerOne here](https://hackerone.com/automattic/).

## Support

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:

-   If you have a problem, you may want to start with the [self help guide](https://woocommerce.com/document/woocommerce-self-service-guide/).
-   The [WooCommerce.com premium support portal](https://woocommerce.com/contact-us/) for customers who have purchased themes or extensions.
-   [Our community forum on wp.org](https://wordpress.org/support/plugin/woocommerce) which is available for all WooCommerce users.
-   [The Official WooCommerce Facebook Group](https://www.facebook.com/groups/advanced.woocommerce).
-   For customizations, you may want to check our list of [WooExperts](https://woocommerce.com/experts/) or [Codeable](https://codeable.io/).

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.

## Community

For peer to peer support, real-time announcements, and office hours, please [join our slack community](https://woocommerce.com/community-slack/)!

## Contributing to WooCommerce

As an open-source project, we rely on community contributions to continue to improve WooCommerce. To get started, check out our [Contributing guide](CONTRIBUTING.md) for a quick reference of common development commands, or visit the [Contributing to Woo](https://developer.woocommerce.com/docs/contribution/contributing/) docs for broader contribution guidelines.
↑