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 1y 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 1mo 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

14

—

LowBetter than 2% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity18

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://www.gravatar.com/avatar/87535cd035537b8968956ce19b59000aed4e0a47f4602176e087a7047f70ff62?d=identicon)[jeelsureja](/maintainers/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

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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