PHPackages                             leovie/php-dry - 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. leovie/php-dry

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

leovie/php-dry
==============

Detect clones in php code.

v1.7.7(4y ago)1425[13 issues](https://github.com/LeoVie/php-dry/issues)[6 PRs](https://github.com/LeoVie/php-dry/pulls)BSD-3-ClausePHPPHP &gt;=8.0.0

Since Mar 23Pushed 3y ago2 watchersCompare

[ Source](https://github.com/LeoVie/php-dry)[ Packagist](https://packagist.org/packages/leovie/php-dry)[ RSS](/packages/leovie-php-dry/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (27)Versions (47)Used By (0)

php-dry – Clone Detection for PHP
=================================

[](#php-dry--clone-detection-for-php)

php-dry detects duplicated behaviour in your application, even if the duplicated passages are implemented completely different to each other. Likely you should read a bit about the [theoretical background](http://php-dry.org/news/0.html)for a better understanding.

Run via Docker (recommended)
----------------------------

[](#run-via-docker-recommended)

```
docker run -v {path_to_project}:/project leovie/php-dry -h
```

Run via binary
--------------

[](#run-via-binary)

Install via composer

```
composer require --dev leovie/php-dry
```

After installation, you can run php-dry via

```
vendor/bin/php-dry {path_to_project} -h
```

Documentation
-------------

[](#documentation)

see [here](http://php-dry.org/documentation)

Thanks
------

[](#thanks)

Special thank you belongs to [queo GmbH](https://www.queo.de) for sponsoring the development and maintenance of php-dry.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance1

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 80.9% 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 ~2 days

Total

38

Last Release

1466d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/876f842b58e2a0e54d85eddfb8ed1b599586e94d9071efaddd208383ea85932c?d=identicon)[leo.viezens@web.de](/maintainers/leo.viezens@web.de)

---

Top Contributors

[![LeoVie](https://avatars.githubusercontent.com/u/7249788?v=4)](https://github.com/LeoVie "LeoVie (207 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (49 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/leovie-php-dry/health.svg)

```
[![Health](https://phpackages.com/badges/leovie-php-dry/health.svg)](https://phpackages.com/packages/leovie-php-dry)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)

PHPackages © 2026

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