copyleaks / php-plagiarism-checker
Copyleaks detects online plagiarism and checks content distribution. Use Copyleaks to find out if textual content is original and where it has been used before. This package shows how to integrate with the Copyleaks cloud to search for copyright infringement.
Installs: 53 560
Dependents: 0
Suggesters: 0
Security: 0
Stars: 34
Watchers: 9
Forks: 25
Open Issues: 0
Requires
- php: >=7.4.0
- dev-master
- v4.1.2
- v4.1.1
- v4.1.0
- 4.0.1
- v4.0.0
- v3.2.1
- v3.2.0
- v3.1.0
- 3.0.2
- v3.0.1
- 3.0.0
- v1.4
- v1.3
- v1.2
- v1.1
- dev-features/1207019394509570/add-missing-property-allow-same-domain
- dev-features/1207019394509570/add-writing-feedback-and-ai-detector
- dev-features/1203221642267913/update-properties
- dev-features/multi-tenant
This package is auto-updated.
Last update: 2024-11-18 13:51:42 UTC
README
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)
- Free text
- OCR (Optical Character Recognition) - scanning pictures with textual content (see supported files)
Installation
Install using Packagist
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 and make sure to confirm your account.
As a signed user you can generate your personal API key. Do so on your dashboard home under 'API Access Credentials'.
For more information check out our API guide.
Usage
include_once('vendor/copyleaks/php-plagiarism-checker/autoload.php'); use Copyleaks\Copyleaks; $copyleaks = new Copyleaks(); $loginResult = $copyleaks->login(<your email>,<your api key>); echo json_encode($loginResult);
- (Option) To change the Identity server URI (default:"https://id.copyleaks.com"):
CopyleaksConfig::SET_IDENTITY_SERVER_URI("<your identity server URI>");
- (Option) To change the API server URI (default:"https://api.copyleaks.com"):
CopyleaksConfig::SET_API_SERVER_URI("<your API server URI>");
Demo
See demo.php under demo folder for an example.