PHPackages                             vivlong/phalapi-woocommerce - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vivlong/phalapi-woocommerce

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vivlong/phalapi-woocommerce
===========================

PhalApi 2.x扩展类库, 操作WooCommerce。

017PHP

Since Mar 4Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/vivlong/phalapi-woocommerce)[ Packagist](https://packagist.org/packages/vivlong/phalapi-woocommerce)[ RSS](/packages/vivlong-phalapi-woocommerce/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PhalApi 2.x 的Woocommerce扩展
==========================

[](#phalapi-2x-的woocommerce扩展)

PhalApi 2.x扩展类库，操作woocommerce。

安装和配置
-----

[](#安装和配置)

修改项目下的composer.json文件，并添加：

```
    "vivlong/phalapi-woocommerce":"dev-master"

```

然后执行`composer update`，如果PHP版本过低，可使用`composer update --ignore-platform-reqs`。

安装成功后，添加以下配置到./config/app.php文件：

```
    'Woocommerce' => array(
        'url' => '',
        'consumer_key' => '',
        'consumer_secret' => '',
    ),
```

使用
--

[](#使用)

在文件中，使用服务：

```
$woocommerce = new \PhalApi\Woocommerce\Lite();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance57

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/63cebb214330833e8bea309160266105934daf5e70e20db7ae58a6484443f37c?d=identicon)[vivlong](/maintainers/vivlong)

---

Top Contributors

[![vivlong](https://avatars.githubusercontent.com/u/3961154?v=4)](https://github.com/vivlong "vivlong (22 commits)")

### Embed Badge

![Health badge](/badges/vivlong-phalapi-woocommerce/health.svg)

```
[![Health](https://phpackages.com/badges/vivlong-phalapi-woocommerce/health.svg)](https://phpackages.com/packages/vivlong-phalapi-woocommerce)
```

PHPackages © 2026

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