-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Erik van Velzen
committed
Jul 26, 2018
0 parents
commit 36406cd
Showing
12 changed files
with
67,922 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# ZF3 WooCommerce client | ||
|
||
WooCommerce client for Zend Framework 3. | ||
|
||
This wraps [the php client](https://github.com/woocommerce/wc-api-php) so you can load the configuration. | ||
|
||
## Installation | ||
|
||
``` | ||
composer require polderknowledge/woocommerce-module | ||
``` | ||
|
||
## Usage | ||
|
||
Step 1. Add to application.config.php: | ||
|
||
``` | ||
return [ | ||
'modules' => [ | ||
'PolderKnowledge\\WooCommerce', | ||
], | ||
] | ||
``` | ||
|
||
Step 2. Copy config/woocommerce.global.php.dist to your projects config/autoload directory and adjust where necessary | ||
|
||
Step 3. Use in application: | ||
|
||
``` | ||
$container->get(\Automattic\WooCommerce\Client::class); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "polderknowledge/woocommerce-module", | ||
"type": "library", | ||
"description": "WooCommerce client for Zend Framework 3", | ||
"homepage": "https://polderknowledge.com", | ||
"license": "MIT", | ||
"autoload": { | ||
"psr-4": { | ||
"PolderKnowledge\\WooCommerce\\": "src/" | ||
} | ||
}, | ||
"require": { | ||
"automattic/woocommerce": "^2.0", | ||
"zendframework/zend-mvc": "^3.1" | ||
} | ||
} |
Oops, something went wrong.