https://github.com/copyleaks/php-plagiarism-checker
Copyleaks Plagiarism Checker - PHP SDK.
https://github.com/copyleaks/php-plagiarism-checker
copyleaks copyleaks-api plagiarism sdk
Last synced: 4 months ago
JSON representation
Copyleaks Plagiarism Checker - PHP SDK.
- Host: GitHub
- URL: https://github.com/copyleaks/php-plagiarism-checker
- Owner: Copyleaks
- License: mit
- Created: 2016-05-29T15:18:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-05-29T10:34:32.000Z (5 months ago)
- Last Synced: 2025-05-29T12:23:02.044Z (5 months ago)
- Topics: copyleaks, copyleaks-api, plagiarism, sdk
- Language: PHP
- Homepage: https://api.copyleaks.com
- Size: 2.43 MB
- Stars: 34
- Watchers: 8
- Forks: 26
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Copyleaks PHP SDK
Copyleaks SDK is a simple framework that allows you to scan text for plagiarism and detect content distribution online, using the Copyleaks plagiarism checker cloud.
Using Copyleaks SDK you can check for plagiarism in:
* Online content and webpages
* Local and cloud files (see [supported files](https://api.copyleaks.com/documentation/specifications#2-supported-file-types))
* Free text
* OCR (Optical Character Recognition) - scanning pictures with textual content (see [supported files](https://api.copyleaks.com/documentation/specifications#6-supported-image-types-ocr))## Installation
Install using [Packagist](https://packagist.org/packages/copyleaks/php-plagiarism-checker)
```bash
composer require copyleaks/php-plagiarism-checker
```## Register and Get Your API Key
To use the Copyleaks API you need to first be a registered user. The registration to Copyleaks takes a minute and is free of charge. [Signup](https://api.copyleaks.com/?register=true) and make sure to confirm your account.As a signed user you can generate your personal API key. Do so on your [dashboard home](https://api.copyleaks.com/dashboard) under 'API Access Credentials'.
For more information check out our [API guide](https://api.copyleaks.com/documentation/v3).
## Usage
```php
include_once('vendor/copyleaks/php-plagiarism-checker/autoload.php');
use Copyleaks\Copyleaks;$copyleaks = new Copyleaks();
$loginResult = $copyleaks->login(,);
echo json_encode($loginResult);
```
* (Option) To change the Identity server URI (default:"https://id.copyleaks.com"):
```rb
CopyleaksConfig::SET_IDENTITY_SERVER_URI("");
```
* (Option) To change the API server URI (default:"https://api.copyleaks.com"):
```rb
CopyleaksConfig::SET_API_SERVER_URI("");
```## Demo
See [demo.php](./demo/demo.php) under demo folder for an example.
## Read More
* [API Homepage](https://api.copyleaks.com/)
* [API Documentation](https://api.copyleaks.com/documentation)
* [Plagiarism Report](https://github.com/Copyleaks/plagiarism-report)