PHPackages                             kingmaker/laravel-many-to-many-self-relationship - 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. kingmaker/laravel-many-to-many-self-relationship

ActiveLibrary

kingmaker/laravel-many-to-many-self-relationship
================================================

Laravel Many to Many Relationship on the same Model through a pivot table providing two-way association.

2.1.7(2mo ago)1953.5k↑34.6%MITPHP ^7.2|^8.0

Since May 28Compare

[ Source](https://github.com/kingmaker-agm/laravel-many-to-many-self)[ Packagist](https://packagist.org/packages/kingmaker/laravel-many-to-many-self-relationship)[ Docs](https://github.com/kingmaker-agm/laravel-many-to-many-self)[ RSS](/packages/kingmaker-laravel-many-to-many-self-relationship/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (4)Versions (19)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/kingmaker-agm/laravel-many-to-many-self).

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance88

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 93.2% 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 ~135 days

Recently: every ~275 days

Total

14

Last Release

62d ago

Major Versions

1.0.0 → 2.1.02021-05-28

1.0.1 → 2.1.22022-06-21

### Community

Maintainers

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

---

Top Contributors

[![kingmaker-agm](https://avatars.githubusercontent.com/u/23194965?v=4)](https://github.com/kingmaker-agm "kingmaker-agm (68 commits)")[![Bloemendaal](https://avatars.githubusercontent.com/u/1348606?v=4)](https://github.com/Bloemendaal "Bloemendaal (3 commits)")[![blite](https://avatars.githubusercontent.com/u/442226?v=4)](https://github.com/blite "blite (1 commits)")[![tobyzerner](https://avatars.githubusercontent.com/u/128862?v=4)](https://github.com/tobyzerner "tobyzerner (1 commits)")

---

Tags

laravelmany to manyrelationrelationshipbelongs-to-manymany-to-many-selfbelongs-to-many-selftwo way association

### Embed Badge

![Health badge](/badges/kingmaker-laravel-many-to-many-self-relationship/health.svg)

```
[![Health](https://phpackages.com/badges/kingmaker-laravel-many-to-many-self-relationship/health.svg)](https://phpackages.com/packages/kingmaker-laravel-many-to-many-self-relationship)
```

###  Alternatives

[chelout/laravel-relationship-events

Missing relationship events for Laravel

5252.3M17](/packages/chelout-laravel-relationship-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[reedware/laravel-composite-relations

Adds the ability define composite eloquent relations.

17131.3k](/packages/reedware-laravel-composite-relations)[cesargb/laravel-cascade-delete

Cascading eliminations implemented in polymorphic relationships for the Laravel apps

1956.1k1](/packages/cesargb-laravel-cascade-delete)[illuminatech/sync-many-attribute

Allows control over Eloquent many-to-many relation via array attribute

156.7k](/packages/illuminatech-sync-many-attribute)

PHPackages © 2026

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