PHP code example of bicisteadm / cryptolens-php
1. Go to this page and download the library: Download bicisteadm/cryptolens-php 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/ */
bicisteadm / cryptolens-php example snippets
icisteadm\Cryptolens;
$licv = new Cryptolens(
// Product Id
"1234",
// Access token
"fPDKLpOdOMgPCtKelvXKVzOjOhZKESebxRgRtOLhUnmnMJbowzHNedIMdJUraViFpiEUlnHr"
);
$licv = $licv->keyVerification(
// License Key
"XXXXX-XXXXX-XXXXX-XXXXX"
);
if ($licv) {
echo "The key is valid";
} else {
echo "The key is not valid";
}
composer