PHPackages                             disparity/fixrel - 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. [Database &amp; ORM](/categories/database)
4. /
5. disparity/fixrel

ActiveLibrary[Database &amp; ORM](/categories/database)

disparity/fixrel
================

Two way relationship fixer for Doctrine ORM

0.1.0(8y ago)116MITPHPPHP &gt;=7.0

Since Dec 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Disparity/relationship-fixer)[ Packagist](https://packagist.org/packages/disparity/fixrel)[ Docs](https://disparity.github.io/relationship-fixer)[ RSS](/packages/disparity-fixrel/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Entity relationship fixer
=========================

[](#entity-relationship-fixer)

Two way relationship fixer for Doctrine ORM entities

[![Build Status](https://camo.githubusercontent.com/501c5bcf840f602197f6c6cf1fbf93774ea1187459cc98753a6378c1163b1ecc/68747470733a2f2f7472617669732d63692e6f72672f4469737061726974792f72656c6174696f6e736869702d66697865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Disparity/relationship-fixer)[![codecov](https://camo.githubusercontent.com/9981cc5f6e6aeee5e9a0eb1746e046c7279ca4a4dbc3d5fbf37c9a7ea36405c1/68747470733a2f2f636f6465636f762e696f2f67682f4469737061726974792f72656c6174696f6e736869702d66697865722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Disparity/relationship-fixer)[![SymfonyInsight](https://camo.githubusercontent.com/67b82eccdea47f59699801777afe5e1d8253633c0f31ddcc5b864242a19def9e/68747470733a2f2f696e73696768742e73796d666f6e792e636f6d2f70726f6a656374732f66313739653234632d306535362d343034372d386461622d6562646466343534393839392f6d696e692e737667)](https://insight.symfony.com/projects/f179e24c-0e56-4047-8dab-ebddf4549899)

Description
-----------

[](#description)

Associations between entities are represented just like in regular object-oriented PHP code using references to other objects or collections of objects.

Association is a two-way relationship between objects, so changing the relationship on only one side breaks the consistency of the data.

This requires that you choose the right side of the change (because the doctrine will only check the owning side of an association for changes).

This library makes it easy to make changes in the relations of objects, automatically changing relationships in related objects. This makes it possible to make changes on either side of the association; since owner-side will contain a reference to the correct entity.

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

[](#documentation)

Read full [documentation](https://disparity.github.io/relationship-fixer).

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3126d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/621344?v=4)[Evgeny](/maintainers/Disparity)[@Disparity](https://github.com/Disparity)

---

Top Contributors

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

---

Tags

ormdoctrinerelationship fixer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/disparity-fixrel/health.svg)

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

###  Alternatives

[beberlei/doctrineextensions

A set of extensions to Doctrine 2 that add support for additional query functions available in MySQL, Oracle, PostgreSQL and SQLite.

2.1k79.7M172](/packages/beberlei-doctrineextensions)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8465.5M96](/packages/laravel-doctrine-orm)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58825.9M49](/packages/scienta-doctrine-json-functions)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[api-platform/doctrine-orm

Doctrine ORM bridge

294.4M88](/packages/api-platform-doctrine-orm)[rougin/credo

Use Doctrine ORM for Codeigniter 3.

151.2k](/packages/rougin-credo)

PHPackages © 2026

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