reedware/laravel-composite-relations
Adds composite foreign key support to Eloquent relationships. Define Belongs To, Has One, and Has Many relations using multiple columns, with full eager loading and "where has" query support through a simple trait on your base model.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| kirschbaum-development/eloquent-power-joins | 0.86 | Eloquent Power Joins brings Laravel's magic to joins: define joins using your relationship methods, use model scopes in any context, query relationship existence via joins instead of where exists, and sort by related columns or aggregates with less code. | 1,570 | 1,578 | 102 | 7M | 9 | 43.5 | 62.0 | MIT | 1 week ago | |
| jobmetric/laravel-membership | 0.86 | Laravel Membership by Jobmetric provides a flexible foundation for managing plans, subscriptions, and member access in your PHP applications. Define membership tiers, attach features or permissions, track activation and expiration, and integrate membership checks cleanly into your Laravel models and... | 7 | 7 | 0 | 95 | 0 | 0.3 | 15.3 | MIT | 2 years ago | |
| quentingab/wodel | 0.86 | quentingab/wodel is a Composer-installable Laravel/PHP package from quentingab. It is an early-stage project with limited adoption; consult the repository README for installation, configuration, and usage details before adding it to production. Best suited for evaluation and experimentation. | 0 | 0 | 0 | 1 | 0 | 0.2 | 2.9 | MIT | 5 years ago | |
| inani/lazy-belongs-to-many | 0.86 | Laravel package that adds a lazy-loading belongsToMany relationship, letting you defer large many-to-many queries until the collection is actually accessed. Keeps models light while still supporting pivot data, eager loading, and standard relationship methods. | 24 | 25 | 2 | 0 | 0 | 0.2 | — | — | — | |
| imanghafoori/eloquent-relativity | 0.86 | Laravel package that lets you declare Eloquent relationships without importing related model classes. Relativity infers the target model from the method name, so hasMany, hasOne, belongsTo and belongsToMany calls stay concise and your models keep fewer use statements. | 148 | 148 | 13 | 27 | 1 | 1.2 | 1.0 | MIT | 2 years ago | |
| pannella/laravel-cti | 0.85 | — | 3 | 3 | 0 | 406 | 1 | 19.4 | 31.2 | MIT | 3 months ago | |
| reedware/laravel-relation-joins | 0.85 | — | 212 | 212 | 22 | 87K | 3 | 20.4 | 39.2 | MIT | 6 months ago | |
| atldays/laravel-eloquent-join-relation | 0.85 | Add SQL joins to Laravel Eloquent relationships without dropping to the query builder. atldays/laravel-eloquent-join-relation lets you join related tables through existing relationship definitions, filter and sort by joined columns, and keep clean, readable model code. | 0 | — | 0 | — | 0 | 9.1 | — | MIT | 6 months ago | |
| davidwesdijk/laravel-polymorphic-eav | 0.85 | Add flexible, polymorphic EAV attributes to any Laravel model. Store custom fields as attribute-value pairs without schema changes, attach them to multiple models, and query them with familiar Eloquent syntax. Great for dynamic product or user metadata. | 6 | 6 | 4 | 0 | 2 | 0.7 | 0.4 | MIT | 5 years ago | |
| culturegr/custom-relation | 0.85 | Easily define custom relationships between Eloquent models, like connecting users to permissions through roles. Includes an Artisan generator and full support for eager-loading, making complex multi-table joins clean and reusable. | 18 | 18 | 4 | 165 | 1 | 21.4 | 15.7 | NOASSERTION | 1 month ago | |
| huluti/doctrine-relations-analyser | 0.85 | Doctrine Relations Analyser inspects Doctrine ORM entity associations to flag missing or misconfigured relations—such as absent inversedBy/mappedBy, cascade, orphanRemoval, and nullable settings—helping you catch mapping issues early and keep your model consistent. | 15 | 15 | 1 | 424 | 0 | 3.9 | 20.5 | MIT | 9 months ago | |
| ardalanamini/laravel-custom-relation | 0.85 | A Laravel package that lets you define custom Eloquent relationships beyond the built-in hasMany, belongsTo, and morphTo types. Build relations with your own query logic and constraints, keeping complex model associations flexible and readable. | 4 | — | 4 | — | 0 | 0.4 | — | MIT | 3 years ago | |
| richcongress/recurrent-fixtures-test-bundle | 0.85 | RichCongress Recurrent Fixtures Test Bundle integrates recurrent fixture loading into Symfony tests, making it easy to prepare repeatable database state and keep functional test suites isolated, reliable, and fast. | 0 | — | 1 | — | 0 | 0.3 | — | MIT | 4 years ago | |
| korridor/laravel-has-many-merged | 0.85 | Adds a hasManyMerged relationship to Laravel Eloquent, letting you combine several hasMany relations across models into one query-backed collection with sorting, limits, and eager loading. Ideal for unified feeds, timelines, and activity lists. | 90 | 90 | 3 | 7K | 4 | 13.1 | 30.4 | MIT | 6 months ago | |
| zing/laravel-eloquent-relationships | 0.85 | — | 8 | 8 | 0 | 39K | 1 | 22.4 | 58.5 | MIT | 3 weeks ago | |
| staudenmeir/laravel-merged-relations | 0.85 | Merge multiple Laravel Eloquent relations into a single relation that can be queried and eager loaded as one. Combine hasMany, belongsToMany, and morph relations into a unified result set, simplifying complex relationship handling in your models. | 185 | 186 | 12 | 55K | 1 | 9.6 | 36.2 | MIT | 7 months ago | |
| nazarii-kretovych/laravel-api-model-driver | 0.85 | An Eloquent driver for Laravel that backs models with external APIs instead of a database, so you can query remote HTTP resources while keeping familiar models, relationships, casts, and conventions, without rewriting your data layer. | 34 | — | 13 | — | 0 | 0.7 | — | MIT | 6 years ago | |
| stayallive/laravel-inverse-relations | 0.85 | — | 31 | 31 | 1 | 0 | 0 | 1.4 | — | MIT | 2 years ago | |
| paxha/laravel-recursive-relationships | 0.85 | Laravel package for defining and working with recursive relationships in Eloquent models—query parent-child hierarchies, trees, and nested structures with ease. (Approx 160 chars - need closer to 300) Let me expand to ~300 chars: Laravel package for defining and querying recursive relationships in E... | 27 | 27 | 5 | 898 | 1 | 0.4 | 21.0 | MIT | 5 years ago | |
| staudenmeir/eloquent-has-many-deep-contracts | 0.85 | Contracts for staudenmeir/eloquent-has-many-deep. Includes the ConcatenableRelation contract to make third-party relationship packages concatenable with HasManyDeep, improving interoperability when combining deep Eloquent relations. | 7 | 7 | 1 | 1M | 0 | 8.2 | 58.4 | MIT | 8 months ago |
How can I help you explore Laravel packages today?