polderknowledge/woocommerce-module

Zend Framework 3 的 WooCommerce 客户端

0.0.1 2018-07-26 14:23 UTC

This package is auto-updated.

Last update: 2024-09-12 04:45:26 UTC


README

Zend Framework 3 的 WooCommerce 客户端。

此包裹 php 客户端 以便您加载配置。

安装

composer require polderknowledge/woocommerce-module

用法

步骤 1. 添加到 application.config.php

return [
    'modules' => [
        'PolderKnowledge\\WooCommerce',
    ],
]

步骤 2. 将 config/woocommerce.global.php.dist 复制到您的项目 config/autoload 目录中,并根据需要进行调整

步骤 3. 在应用程序中使用

$container->get(\Automattic\WooCommerce\Client::class);