woocommerce / wc-api-php

WooCommerce REST API PHP Library
https://packagist.org/packages/automattic/woocommerce
MIT License
528 stars 160 forks source link

Error: Cannot use Automattic\\WooCommerce\\Client as Client because the name is already in use #334

Closed humpataa closed 1 year ago

humpataa commented 1 year ago

I already have another library installed which has a Client class. How can I use both?

humpataa commented 1 year ago

solved by "renaming" it: use Automattic\WooCommerce\Client as WooClient;