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

ActiveLibrary

linkorb/org-sync
================

Organization sync library

v1.1.0(6y ago)191[1 PRs](https://github.com/linkorb/org-sync/pulls)MITPHPPHP ^7.2

Since Aug 2Pushed 6y ago3 watchersCompare

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

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

OrgSync
=======

[](#orgsync)

> Load an organizational structure (users + groups) from array. Push this data to multiple adapters

"Push" in this case means "Create or Update or Remove". When a User or Group is present in the backend service, but not in the local Organization object, the object should also be removed on the remote service.

List of adapters:

- [GitHub](https://github.com/) (WIP)
- [Camunda](https://docs.camunda.org/manual/7.9/)
- LDAP (Planned)
- [MatterMost](https://mattermost.com/) (Planned)

Installation
------------

[](#installation)

Install the latest version with:

```
$ composer require linkorb/org-sync
```

Usage
-----

[](#usage)

`LinkORB\OrgSync\SynchronizationMediator\SynchronizationMediator` performs basic syncing operations such as:

- sync organization
- sync user
- sync group
- set password
- pull organization (planned)

```
$organization = $this->synchronizationMediator->initialize(
    $targetsArray,
    $organizationArray
);

$this->synchronizationMediator->pushOrganization($organization);
```

### Examples

[](#examples)

##### Organization structure:

[](#organization-structure)

```
Array
(
    [name] => Organization name
    [users] => Array
        (
            [username] => Array
                (
                    [email] => user@email
                    [displayName] => User Name
                    [avatar] => https://example.com/user_avatar.gif
                    [properties] => Array
                        (
                            [key] => value
                        )
                )
        )
    [groups] => Array
        (
            [group name] => Array
                    [parent] => parent group name
                    [displayName] => Group
                    [avatar] => https://example.com/team_avatar.png
                    [members] => Array
                        (
                            [0] => member1
                            [1] => member2
                        )
                    [properties] => Array
                        (
                            [key] => value
                        )
                    [targets] => Array
                        (
                            [0] => target name
                        )
                )
        )
)
```

Empty `members` and/or `targets` section under `groups` means all `members` and/or `targets` for that group.

##### Targets structure:

[](#targets-structure)

```
Array
(
    [targetName] => Array
        (
            [type] => targetType
            [baseUrl] => http://172.17.0.1:8080/engine-rest/
        )
)
```

### Integrations

[](#integrations)

- [OrgSync CLI](https://github.com/linkorb/org-sync-cli)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

2468d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1db66b320db18b8036ea68211b7d8a39e7c6da97e6fd29f59a50380ebb69d0bb?d=identicon)[joostfaassen](/maintainers/joostfaassen)

---

Top Contributors

[![rost1994](https://avatars.githubusercontent.com/u/5614077?v=4)](https://github.com/rost1994 "rost1994 (8 commits)")[![amsprost](https://avatars.githubusercontent.com/u/53666258?v=4)](https://github.com/amsprost "amsprost (7 commits)")[![joostfaassen](https://avatars.githubusercontent.com/u/411113?v=4)](https://github.com/joostfaassen "joostfaassen (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[prestashop/prestashop

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

9.0k15.4k](/packages/prestashop-prestashop)[api-platform/symfony

Symfony API Platform integration

323.2M67](/packages/api-platform-symfony)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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