Download the PHP package mindsize/laravel5-woocommerce without Composer
On this page you can find all versions of the php package mindsize/laravel5-woocommerce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mindsize/laravel5-woocommerce
More information about mindsize/laravel5-woocommerce
Files in mindsize/laravel5-woocommerce
Package laravel5-woocommerce
Short Description WooCommerce API Client for Laravel 5
License MIT
Homepage https://github.com/Mindsize/laravel5-woocommerce
Informations about the package laravel5-woocommerce
Laravel 5 WooCommerce API Client
A simple Laravel 5 wrapper for the official WooCommerce REST API PHP Library from Automattic.
Installation
Step 1: Install Through Composer
Step 2: Publish configuration
Step 3: Customize configuration
You can directly edit the configuration in config/woocommerce.php
or copy these values to your .env
file.
Examples
Get the index of all available endpoints
View all orders
View all completed orders created after a specific date
For legacy API versions
(WC 2.4.x or later, WP 4.1 or later) use this syntax
For current API versions
(WC 2.6.x or later, WP 4.4 or later) use this syntax.
after
needs to be a ISO-8601 compliant date!≠
Update a product
Pagination
So you don't have to mess around with the request and response header and the calculations this wrapper will do all the heavy lifting for you. (WC 2.6.x or later, WP 4.4 or later)
HTTP Request & Response (Headers)
More Examples
Refer to WooCommerce REST API Documentation for more examples and documention.
Testing
Run the tests with:
License
The MIT License (MIT). Please see License File for more information.
Forked from pixelpeter/laravel5-woocommerce-api-client
Thanks Peter!