PHPackages                             jeelsureja/laravel-duplication-checker - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. jeelsureja/laravel-duplication-checker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

jeelsureja/laravel-duplication-checker
======================================

A Laravel package to detect code duplication.

02PHP

Since Jun 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jeelsureja/laravel-duplication-checker)[ Packagist](https://packagist.org/packages/jeelsureja/laravel-duplication-checker)[ RSS](/packages/jeelsureja-laravel-duplication-checker/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Duplication Checker
===========================

[](#laravel-duplication-checker)

This package detects code duplication in Laravel projects and provides warnings via a dedicated route.

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

[](#installation)

1. Require the package via Composer:

    ```
    composer require jeelsureja/laravel-duplication-checker
    ```
2. Publish the configuration file:

    ```
    php artisan vendor:publish --tag=config --provider="Jeelsureja\LaravelDuplicationChecker\Providers\DuplicationServiceProvider"
    ```
3. Run the duplication check command:

    ```
    php artisan code:check-duplication
    ```

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

[](#configuration)

The configuration file `config/duplication.php` allows you to customize the directories to be excluded and the route for warnings.

Usage
-----

[](#usage)

Navigate to the configured route (default: `/duplication/warnings`) to see the duplication warnings.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33978737?v=4)[Jeel Sureja](/maintainers/jeelsureja)[@jeelsureja](https://github.com/jeelsureja)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jeelsureja-laravel-duplication-checker/health.svg)

```
[![Health](https://phpackages.com/badges/jeelsureja-laravel-duplication-checker/health.svg)](https://phpackages.com/packages/jeelsureja-laravel-duplication-checker)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M360](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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