PHP code example of themewizz / twz-software-license-manager-library

1. Go to this page and download the library: Download themewizz/twz-software-license-manager-library 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/ */

    

themewizz / twz-software-license-manager-library example snippets


$LIC->setKey('5766474b540');
$LIC->activate();

$LIC->setKey('5766474b540');
$LIC->load();
echo $LIC->daysToExpiry();

$LIC->setKey('5766474b540');
$LIC->deactivate();

$LIC->setKey('5766474b540');
$LIC->load();
if ($LIC->domainRegistered()) {
   echo "Domain is registered";
else {   
   echo "Domain is not registered";
}

$LIC->setKey('5766474b540');
echo $LIC->getKey();

$LIC->setKey('5766474b540');
$LIC->load();

$LIC->setKey('5766474b540');

$LIC->setKey('5766474b540');
$LIC->load();
$LIC->show($LIC->details, true);

$LIC->setKey('5766474b540');
$LIC->load();
echo $LIC->status();