Download the PHP package hexboy/laravel-woocommerce-api-client without Composer
On this page you can find all versions of the php package hexboy/laravel-woocommerce-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hexboy/laravel-woocommerce-api-client
More information about hexboy/laravel-woocommerce-api-client
Files in hexboy/laravel-woocommerce-api-client
Package laravel-woocommerce-api-client
Short Description Laravel 5 wrapper for the Woocommerce REST API
License MIT
Homepage https://github.com/hexboy/laravel-woocommerce-api-client
Informations about the package laravel-woocommerce-api-client
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
For API Version v3, WooCommerce 3.0+, Wordpress 4.4+, php 7.0+, Laravel 5.5+ use the v3.x branch
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
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)
Laravel LengthAwarePaginator
raw pagination data
HTTP Request & Response (Headers)
More Examples
Refer to WooCommerce REST API Documentation for more examples and documention.
License
The MIT License (MIT). Please see License File for more information.