PHP code example of veltrom / wp-license-sdk
1. Go to this page and download the library: Download veltrom/wp-license-sdk library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
veltrom / wp-license-sdk example snippets
use Veltrom\License\Client;
$licence = new Client([
'product' => 'product-revisions-for-woocommerce-pro', // the product slug on the licensing server
'name' => 'Product Revisions for WooCommerce — Pro',
'version' => WCPR_PRO_VERSION,
'plugin_file' => WCPR_PRO_FILE,
'public_keys' => cence->can('pro')) {
// PRO feature
}