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 today

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

24

—

LowBetter than 31% of packages

Maintenance44

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

440d 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

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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