Download the PHP package copyleaks/php-plagiarism-checker without Composer
On this page you can find all versions of the php package copyleaks/php-plagiarism-checker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download copyleaks/php-plagiarism-checker
More information about copyleaks/php-plagiarism-checker
Files in copyleaks/php-plagiarism-checker
Package php-plagiarism-checker
Short Description 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.
License MIT
Homepage https://api.copyleaks.com
Informations about the package php-plagiarism-checker
Copyleaks SDK
The official Copyleaks PHP library, supporting PHP versions >=7.4.0.
Copyleaks is the integrity layer for your tech stack that helps organizations and individuals understand what's human-made and original, AI-generated, or manipulated across text, image, audio and video.
This SDK gives you access to the following Copyleaks products:
- AI Text Detection
- AI Image Detection
- Plagiarism Checker (Authenticity scans: file, URL, OCR)
- Grammar Checker
- Text Moderation
π Getting Started
Before you start, ensure you have the following:
- An active Copyleaks account. If you donβt have one, sign up for free.
- You can find your API key on the API Dashboard.
Once you have your account and API key:
Install the SDK:
Install using Packagist
This package was previously published as copyleaks/php-plagiarism-checker. To switch, run composer remove copyleaks/php-plagiarism-checker && composer require copyleaks/copyleaks. The Copyleaks\ namespace is unchanged.
π Documentation
To learn more about how to use Copyleaks API please check out our Documentation.
π‘ Usage Examples
Here are some common usage examples for the Copyleaks SDK. You can also see a comprehensive code example in the demo.php file on our GitHub repository: demo.php.
Get Authentication Token
This example demonstrates how to log in to the Copyleaks API and obtain an authentication token.
For a detailed understanding of the authentication process, refer to the Copyleaks Login Endpoint Documentation.
Submit Text for Plagiarism Scan
This example shows how to prepare and submit raw text content for a plagiarism scan.
For a full guide please refer to our step by step Guide
For a detailed understanding of the plagiarism detection process, refer to the Copyleaks Submit Endpoint Documentation
Reading the AI alert from the completed webhook
When a scan submitted with AI detection (aiGeneratedText.detect) finds AI-generated text, the completed webhook carries a suspected-ai-text alert. Its additionalData is the AI detection result encoded as a JSON string, which the SDK decodes for you.
getAIDetectionAlert() returns null when the completed webhook contains no suspected-ai-text alert. The raw JSON string stays available in $aiAlert->additionalData.
AI-Generated Text Detection
Use the AI detection client to determine if content was generated by artificial intelligence.
Grammar Checker (WritingAssistantClient)
Get intelligent suggestions for improving grammar, spelling, style, and overall writing quality.
For a full guide please refer to our step by step Guide
For a detailed understanding of the Grammar Checker (WritingAssistantClient) process, refer to the Copyleaks writing feedback Endpoint Documentation
Text Moderation
Scan and moderate text content for unsafe, inappropriate, or policy-violating material across various categories.
For a full guide please refer to our step by step Guide
For a detailed understanding of the Text moderation process, refer to the Copyleaks text moderation Endpoint Documentation
AI Image Detection
Determine if a given image was generated or partially generated by an AI.
For a full guide please refer to our step by step Guide
For a detailed understanding of the AI Image Detection process, refer to the Copyleaks AI image detection Endpoint Documentation
Further Resources
- Copyleaks API Dashboard: Manage your API keys, monitor usage, and view analytics from your personalized dashboard. Access Dashboard
- Copyleaks SDK Documentation: Explore comprehensive guides, API references, and code examples for seamless integration. Read Documentation
Support
- If you need assistance, please contact Copyleaks Support via our support portal: Contact Copyleaks Support.
- To arrange a product demonstration, book a demo here: Booking Link.