PHPackages                             mrself/sync - 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. mrself/sync

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

mrself/sync
===========

v2.0.0(4y ago)0852PHPCI failing

Since Feb 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/mrself/php-sync)[ Packagist](https://packagist.org/packages/mrself/sync)[ RSS](/packages/mrself-sync/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (10)Versions (27)Used By (2)

```
// From array to array

$sync = Sync::make([
    'source' => ['a' => 1],
    'target' => [],
    'mapping' => ['a']
]);
$sync->getTarget()['a'] === 1;

// =======

// From array to object

$targetObject = (object) [];
$sync = Sync::make([
    'source' => ['a' => 1],
    'target' => $targetObject,
    'mapping' => ['a']
]);
$targetObject->a === 1;

// =======

// Extending from Sync

// Formatting values

$target = [];
$source = ['a' => 1];
$mapping = ['a'];
$sync = new class extends Sync {
    public function formatA($value)
    {
        return $value + 1;
    }
};
$sync->init(compact('target', 'source', 'mapping'));
$sync->sync();
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity70

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 ~40 days

Recently: every ~77 days

Total

25

Last Release

1693d ago

Major Versions

v0.1.0 → v1.0.02019-02-03

v1.7.3 → v2.0.02021-09-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2e0cc0bcdda42623a871a571b48037a42477cda5e2505fa56ec1d99fd4e45f5?d=identicon)[mrself](/maintainers/mrself)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mrself-sync/health.svg)

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

###  Alternatives

[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[wallabag/wallabag

open source self hostable read-it-later web application

12.6k2.2k](/packages/wallabag-wallabag)[j0k3r/php-readability

Automatic article extraction from HTML

186808.8k6](/packages/j0k3r-php-readability)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)

PHPackages © 2026

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