PHPackages                             plagtracker/api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. plagtracker/api-client

ActiveLibrary[API Development](/categories/api)

plagtracker/api-client
======================

php client for api.plagtracker.com

0.1.0(11y ago)51.5k5PHPPHP &gt;=5.4

Since May 1Pushed 11y ago2 watchersCompare

[ Source](https://github.com/plagtracker/api-client)[ Packagist](https://packagist.org/packages/plagtracker/api-client)[ RSS](/packages/plagtracker-api-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP client for api.plagtracker.com
==================================

[](#php-client-for-apiplagtrackercom)

Api documentation
-----------------

[](#api-documentation)

Installation
------------

[](#installation)

```
{
    "require": {
        "plagtracker/api-client": "0.1.*"
    }
}
```

Usage
-----

[](#usage)

### Create client

[](#create-client)

```
$client = new \Plagtracker\Api\Client('login', 'password');
```

### Add text for checking

[](#add-text-for-checking)

```
$response = $client->addTextForChecking('text');
if($response->isSuccessfully())
{
    $hash = $response->getData();
}
else
{
    echo 'ERROR: ' . $response->getMessage();
}
```

### Add url for checking

[](#add-url-for-checking)

```
$response = $client->addUrlForChecking('http://example.com');
$hash = $response->getData();
```

### Add file for checking

[](#add-file-for-checking)

```
$response = $client->addFileForChecking('/path/to/file');
$hash = $response->getData();
```

### Get text status

[](#get-text-status)

```
$response = $client->getTextStatus($hash);
if($response->isSuccessfully())
{
    $completedPercent = $response->getData();
}
else
{
    echo 'ERROR: ' . $response->getMessage();
}
```

### Get result

[](#get-result)

```
if($completedPercent == 100)
{
    $response = $client->getResult($hash);
    if($response->isSuccessfully())
    {
        $result = $response->getData();
    }
    else
    {
        echo 'ERROR: ' . $response->getMessage();
    }
}
```

### Get plagiarism percent

[](#get-plagiarism-percent)

```
$response = $client->getPlagiarismPercent($hash);
if($response->isSuccessfully())
{
    $plagiarismPercent = $response->getData();
}
else
{
    echo 'ERROR: ' . $response->getMessage();
}
```

### Get text

[](#get-text)

```
$response = $client->getText($hash);
if($response->isSuccessfully())
{
    $text = $response->getData();
}
else
{
    echo 'ERROR: ' . $response->getMessage();
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4035d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/321962361c8055e106c94e65816f29ce7215499cac833cbed0539b97320998aa?d=identicon)[plagtracker](/maintainers/plagtracker)

---

Top Contributors

[![kufd](https://avatars.githubusercontent.com/u/1074793?v=4)](https://github.com/kufd "kufd (12 commits)")

### Embed Badge

![Health badge](/badges/plagtracker-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/plagtracker-api-client/health.svg)](https://phpackages.com/packages/plagtracker-api-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
