PHPackages                             wertelko/doctrine-easy-join - 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. wertelko/doctrine-easy-join

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

wertelko/doctrine-easy-join
===========================

Easy join for doctrine

v1.0.1(1y ago)04MITPHP

Since Apr 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/wertelko/doctrine-easy-join)[ Packagist](https://packagist.org/packages/wertelko/doctrine-easy-join)[ RSS](/packages/wertelko-doctrine-easy-join/feed)WikiDiscussions main Synced 1mo ago

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

Doctrine ORM Package with Traits for Routine Task Simplification
================================================================

[](#doctrine-orm-package-with-traits-for-routine-task-simplification)

This is a simple package for `doctrine/orm` that allows you to use JoinTrain for repository to simplify certain joins.

JoinTrait
---------

[](#jointrait)

Enables fetching entities along with others.

### Repository:

[](#repository)

```
class CategoryRepository extends ServiceEntityRepository
{
    use JoinTrait; // categoryRepository
            ->join([ // load eager with products and products images
            'products', // getProducts() is initialized
            'products.image' // getProducts()->first()->getImage() is initialized too
            ])
            ->getQuery()
            ->getResult();

        return $this->json($category);
    }
}
```

Also you can set other parameters for `join()`

```
//code
$this->categoryRepository
    ->join(
        $fields, // Array of fields
        $joinType, // String of join type ['left', 'inner']
        $qb, // QueryBuilder
    )
//code
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance48

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

386d ago

### Community

Maintainers

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

---

Top Contributors

[![example123](https://avatars.githubusercontent.com/u/87628?v=4)](https://github.com/example123 "example123 (3 commits)")

### Embed Badge

![Health badge](/badges/wertelko-doctrine-easy-join/health.svg)

```
[![Health](https://phpackages.com/badges/wertelko-doctrine-easy-join/health.svg)](https://phpackages.com/packages/wertelko-doctrine-easy-join)
```

###  Alternatives

[scienta/doctrine-json-functions

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

58523.9M36](/packages/scienta-doctrine-json-functions)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[pixelfederation/doctrine-resettable-em-bundle

Symfony bundle for decorating default entity managers using a resettable decorator.

20113.5k](/packages/pixelfederation-doctrine-resettable-em-bundle)[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.

1022.4k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

813.1k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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