PHPackages                             pablo-merener/eloquent-relationships - 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. pablo-merener/eloquent-relationships

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

pablo-merener/eloquent-relationships
====================================

Get eloquent relationships

1.0.3(3y ago)2965MITPHP

Since Aug 2Pushed 3y ago1 watchersCompare

[ Source](https://github.com/PabloMerener/eloquent-relationships)[ Packagist](https://packagist.org/packages/pablo-merener/eloquent-relationships)[ RSS](/packages/pablo-merener-eloquent-relationships/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

eloquent-relationships
======================

[](#eloquent-relationships)

Get eloquent relationships from model

Install
-------

[](#install)

composer 2.x is required!

```
composer require pablo-merener/eloquent-relationships
```

Helper
------

[](#helper)

Once the package is installed you will be able to use the rel helper which expects an Eloquent Model instance

 [![](./helper.gif)](./helper.gif)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

4

Last Release

1377d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelhelpereloquentRelationships

### Embed Badge

![Health badge](/badges/pablo-merener-eloquent-relationships/health.svg)

```
[![Health](https://phpackages.com/badges/pablo-merener-eloquent-relationships/health.svg)](https://phpackages.com/packages/pablo-merener-eloquent-relationships)
```

###  Alternatives

[indexzer0/eloquent-filtering

Powerful eloquent filtering

22425.9k3](/packages/indexzer0-eloquent-filtering)[msafadi/laravel-eloquent-join-with

Laravel Eloquent Join With Relationships

1646.0k](/packages/msafadi-laravel-eloquent-join-with)[moneo/laravel-morphmap

Custom morphMap support for Laravel Framework

521.6k](/packages/moneo-laravel-morphmap)

PHPackages © 2026

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