PHPackages                             yperevoznikov/reconciliation - 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. yperevoznikov/reconciliation

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

yperevoznikov/reconciliation
============================

Reconciliation algorithm on PHP for everyday usage

1.0.2(9y ago)01.9k[1 issues](https://github.com/yperevoznikov/reconciliation/issues)PHPPHP &gt;=5.3

Since Sep 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/yperevoznikov/reconciliation)[ Packagist](https://packagist.org/packages/yperevoznikov/reconciliation)[ RSS](/packages/yperevoznikov-reconciliation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (4)Used By (0)

Reconciliation algorithm on PHP
===============================

[](#reconciliation-algorithm-on-php)

[![Build Status](https://camo.githubusercontent.com/5d2ff4104fb93c294f38260bbd124d887d929863be34c3fdb16eab1ea5b3c581/68747470733a2f2f7472617669732d63692e6f72672f7970657265766f7a6e696b6f762f7265636f6e63696c696174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yperevoznikov/reconciliation)

Reconciliation algorithm on PHP language for everyday usage.
Data synchronization (set Reconciliation problem) is the process of establishing consistency among data from a source to a target data storage and vice versa and the continuous harmonization of the data over time.
[Data synchronization (Wikiperia)](https://en.wikipedia.org/wiki/Data_synchronization)

Usage example
-------------

[](#usage-example)

```
// Use Package
use YPReconciliation\SetsReconciliation;

// Create Reconciliation Algo Class
$reconciliation = new SetsReconciliation();

// Optionally, it's possible to set custom function to create unique identifier
$reconciliation->setUniqueMaskGetterClosure(function($item) {
	return $item['name'];
});

// Perform action...
$sourceSet = array(array('name' => 1), array('name' => 2));
$targetSet = array(array('name' => 3));
$result = $reconciliation->getReconciliationActions($sourceSet, $targetSet);

// Remove Elements from $targetSet
foreach ($result->getRemoveList() as $item) {
  // remove $item from $targetSet
}

// Add Elements to $targetSet
foreach ($result->getAddList() as $item) {
  // add new $item from $targetSet
}

// Sometimes need to update elements in $targetSet , like so
foreach ($result->getUpdateList() as $item) {
  // update $item in $targetSet
}

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

3

Last Release

3522d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/697e95c20f3b7e7c54fd289bd2990d16f0ccb6e1395451d4961350eef953bfe4?d=identicon)[yperevoznikov](/maintainers/yperevoznikov)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yperevoznikov-reconciliation/health.svg)

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

###  Alternatives

[tzfrs/googlesitemapparser

Google Sitemap is a Sitemap standard that is supported by Ask.com, Google, YAHOO and MSN Search. This library can read in such Sitemaps and parse all urls from them.

143.3k](/packages/tzfrs-googlesitemapparser)[lrobert/gravatar

A library to make working with Gravatar in PHP easy.

101.4k](/packages/lrobert-gravatar)

PHPackages © 2026

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