0

Following are my code that return expiry time of token and some other login info.

include_once('vendor/copyleaks/php-plagiarism-checker/autoload.php');
use Copyleaks\Copyleaks;
$copyleaks = new Copyleaks();
$loginResult = $copyleaks->login('xxxxxxxx@gmail.com','My-Api-Key Here');
echo json_encode($loginResult);

1 Answers1

1

It depends on what are you trying to scan.

You can follow the example found at:

https://github.com/Copyleaks/PHP-Plagiarism-Checker/blob/master/demo/demo.php

and the Copyleaks API documentation:

https://api.copyleaks.com/documentation/v3

Montoya
  • 2,819
  • 3
  • 37
  • 65