PHPackages                             willemabc/deep-copy-debugger - 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. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. willemabc/deep-copy-debugger

ActiveLibrary[Debugging &amp; Profiling](/categories/debugging)

willemabc/deep-copy-debugger
============================

DeepCopy is powerful, but hard to debug. The DeepCopyDebugger makes it easier to spot incorrect or missing filters.

v1.0.3(3y ago)032MITPHP

Since Dec 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/willemabc/deep-copy-debugger)[ Packagist](https://packagist.org/packages/willemabc/deep-copy-debugger)[ RSS](/packages/willemabc-deep-copy-debugger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

DeepCopyDebugger
================

[](#deepcopydebugger)

DeepCopy is powerful, but hard to debug. Especially when you set the filters for a single DeepCopy instance in multiple classes and use wildcard matchers like the PropertyNameMatcher. The DeepCopyDebugger makes it easier to spot incorrect or missing filters.

DeepCopyDebugger helps in the following ways:

- It can return a list of all filters set on the DeepCopy instance, in the order in which they were set.
- Given a DeepCopy instance and a Doctrine entity class, it can return all properties and the matched filters for each individual property.
- There are also methods to only get matched properties or only unmatched properties.

Usage
-----

[](#usage)

It is important to call the DeepCopyDebugger *before* calling the *copy* method on your DeepCopy instance!

```
$deepCopy = new DeepCopy();
// ... set your filters

$deepCopyDebugger = new DeepCopyDebugger($deepCopy);
dump($deepCopyDebugger->getFilterCollection());
dump($deepCopyDebugger->getFormattedFilterCollection());
dump($deepCopyDebugger->getMatchedAndUnmatchedEntityProperties(YourDoctrineEntity::class));
dump($deepCopyDebugger->getMatchedEntityProperties(YourDoctrineEntity::class));
dump($deepCopyDebugger->getUnmatchedEntityProperties(YourDoctrineEntity::class));

$deepCopy->copy($sourceObject);

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~0 days

Total

4

Last Release

1248d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6368ce5f6effd24c55b6518c414de8e906f551331f28cd12844eec38fcaf30b5?d=identicon)[willemabc](/maintainers/willemabc)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/willemabc-deep-copy-debugger/health.svg)

```
[![Health](https://phpackages.com/badges/willemabc-deep-copy-debugger/health.svg)](https://phpackages.com/packages/willemabc-deep-copy-debugger)
```

###  Alternatives

[symfony/stopwatch

Provides a way to profile code

2.8k387.2M908](/packages/symfony-stopwatch)[fruitcake/laravel-debugbar

PHP Debugbar integration for Laravel

19.1k662.9k28](/packages/fruitcake-laravel-debugbar)[spatie/ignition

A beautiful error page for PHP applications.

510147.6M69](/packages/spatie-ignition)[jokkedk/webgrind

Webgrind is a Xdebug profiling web frontend in PHP5. It implements a subset of the features of kcachegrind and installs in seconds and works on all platforms. For quick'n'dirty optimizations it does the job.

3.3k193.0k](/packages/jokkedk-webgrind)[koriym/printo

An object graph visualizer.

1421.8M2](/packages/koriym-printo)[soloterm/dumps

A Laravel command to intercept dumps from your Laravel application.

125285.7k3](/packages/soloterm-dumps)

PHPackages © 2026

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