pixelpeter / laravel5-woocommerce-api-client

Laravel 5 wrapper for the Woocommerce REST API
MIT License
125 stars 48 forks source link

Woocommerce api V2? #19

Closed imalitavakoli closed 7 years ago

imalitavakoli commented 7 years ago

Does your wrapper also support the V2 api, I mean WC V3? Thanks for your awesome Laravel wrapper. It's cool 👍

pixelpeter commented 7 years ago

You'll just need to update WOOCOMMERCE_VERSION to v2 in your configuration

// app/config/woocommerce
 'api_version' => env('WOOCOMMERCE_VERSION', 'v2'),

and it will work.

With the next version which will also support Laravel 5.5 v2 will be the default