PHPackages                             juanparati/copyscape - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. juanparati/copyscape

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

juanparati/copyscape
====================

Copyscape interface for Laravel

10.0(3y ago)28481MITPHPPHP &gt;=8.1

Since May 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/juanparati/copyscape)[ Packagist](https://packagist.org/packages/juanparati/copyscape)[ RSS](/packages/juanparati-copyscape/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (2)Versions (10)Used By (0)

Copyscape Laravel Interface
===========================

[](#copyscape-laravel-interface)

What is it?
-----------

[](#what-is-it)

A Laravel package that provides a [Copyscape](https://copyscape.com) interface for their premium API.

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

[](#installation)

For Laravel 10.x:

```
    composer require juanparati/copyscape "~10.0"

```

For Laravel 9.x:

```
    composer require juanparati/copyscape "~4.0"

```

For Laravel 8.x:

```
    composer require juanparati/copyscape "~3.0"

```

For Laravel 6.x/7.x:

```
    composer require juanparati/copyscape "~2.0"

```

For Laravel 5.5 to 5.8:

```
    composer require juanparati/copyscape "~1.0"

```

For Laravel 5.5 it is required to register the service provider into the "config/app.php":

```
    Juanparati\Copyscape\CopyscapeServiceProvider::class,

```

For Laravel 5.6+ the service provider is automatically registered.

Configuration
-------------

[](#configuration)

```
    artisan vendor:publish --provider="Juanparati\Copyscape\CopyscapeServiceProvider"

```

Alias
-----

[](#alias)

Optionally add the following Alias in your config/app.php (Aliases section):

```
    'Copyscape' => Juanparati\Copyscape\Facades\CopyscapeClient::class,

```

Usage examples
--------------

[](#usage-examples)

### Search against URL

[](#search-against-url)

```
    // Search without full comparison.
    $results = Copyscape::searchURL('http://example.net')->request();

    // With optional options
    $search = Copyscape::searchURL('https://en.wikipedia.org/wiki/United_States_Declaration_of_Independence');

    $search->setFullComparison(5);  // Set full comparison (0 for disable, 1-10 for full comparison)
    $search->setIgnoreSites(['britannica.com']);
    $search->setSpendLimit(0.1);
    $search->setTestMode(true);

    $results = $search->request();

```

### Search against a text

[](#search-against-a-text)

```
     // Search without full comparison
     $results = Copyscape::searchText('We must, therefore, acquiesce in the necessity, which denounces our Separation, and hold them, as we hold the rest of mankind, Enemies in War, in Peace Friends.')->request();

     // With optional options
     $search = Copyscape::searchText('We must, therefore, acquiesce in the necessity, which denounces our Separation, and hold them, as we hold the rest of mankind, Enemies in War, in Peace Friends.');

     $search->setFullComparison(5);  // Set full comparison (0 for disable, 1-10 for full comparison)
     $search->setIgnoreSites(['britannica.com']);
     $search->setSpendLimit(0.1);
     $search->setTestMode(true);

     $results = $search->request();

```

### Search types

[](#search-types)

It's possible to change the possible search type using the "setSearchType" method:

```
    Copyscape::searchText('Hello Universe')
        ->setSearchType(\Juanparati\Copyscape\Services\SearchService::SEARCH_TYPE_PRIVATE)
        ->request();

```

The following search types are available:

```
    \Juanparati\Copyscape\Services\SearchService::SEARCH_TYPE_PUBLIC    // Search against public index
    \Juanparati\Copyscape\Services\SearchService::SEARCH_TYPE_PRIVATE   // Search against private index
    \Juanparati\Copyscape\Services\SearchService::SEARCH_TYPE_BOTH      // Search against public and private indexes

```

### Add index from URL

[](#add-index-from-url)

In order to use the private index, remember to [create a private index](https://www.copyscape.com/faqs.php#privateindex) from the Copyscape interface

```
    $results = Copyscape::indexURL('http://example.net', 'my_index_id');

```

### Add index from Text

[](#add-index-from-text)

```
    $results = Copyscape::indexText('Hello World', 'my_index_id');

```

### Get the credit balance

[](#get-the-credit-balance)

```
    $results = Copyscape::getBalance();

```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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

Every ~185 days

Recently: every ~265 days

Total

9

Last Release

1135d ago

Major Versions

0.10 → 1.02019-05-06

1.0 → 2.02020-01-30

2.1 → 3.02021-10-07

3.0 → 4.02022-03-14

4.1 → 10.02023-05-22

PHP version history (4 changes)0.9PHP &gt;=7.1.0

2.0PHP &gt;=7.2

3.0PHP &gt;=7.3

10.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/4caf72b4d969cfb8cdfbdc1d594c85b51c9316caf76b80aa0f9de7e3736cf59f?d=identicon)[juanparati](/maintainers/juanparati)

---

Top Contributors

[![JuanLeadSupply](https://avatars.githubusercontent.com/u/26138256?v=4)](https://github.com/JuanLeadSupply "JuanLeadSupply (2 commits)")[![juanparati](https://avatars.githubusercontent.com/u/835173?v=4)](https://github.com/juanparati "juanparati (2 commits)")

---

Tags

laravelduplicateseoplagiarismcopyscape

### Embed Badge

![Health badge](/badges/juanparati-copyscape/health.svg)

```
[![Health](https://phpackages.com/badges/juanparati-copyscape/health.svg)](https://phpackages.com/packages/juanparati-copyscape)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

42010.0k](/packages/venturedrake-laravel-crm)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nativephp/mobile

NativePHP for Mobile

1.0k55.0k87](/packages/nativephp-mobile)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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