1. Go to this page and download the library: Download automattic/woocommerce library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
/* Start to develop here. Best regards https://php-download.com/ */
automattic / woocommerce example snippets
$woocommerce = new Client(
'version' => 'wc/v3',
$woocommerce = new Client($url, $consumer_key, $consumer_secret, $options);