PHP code example of copyleaks / php-plagiarism-checker
1. Go to this page and download the library: Download copyleaks/php-plagiarism-checker 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/ */
copyleaks / php-plagiarism-checker example snippets
use Copyleaks\Copyleaks;
$copyleaks = new Copyleaks();
$loginResult = $copyleaks->login(<your email>,<your api key>);
echo json_encode($loginResult);
bash
composer
rb
CopyleaksConfig::SET_IDENTITY_SERVER_URI("<your identity server URI>");
rb
CopyleaksConfig::SET_API_SERVER_URI("<your API server URI>");