staudenmeir/belongs-to-through
Add BelongsToThrough relationships to Eloquent: the inverse of HasManyThrough. Define belongs-to chains across unlimited intermediate models, with support for custom keys, table aliases, and soft deletes. Works with Laravel 5+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ankurk91/laravel-eloquent-relationships | 0.86 | — | 58 | 59 | 9 | 7K | 0 | 0.3 | 20.3 | MIT | — | |
| staudenmeir/eloquent-has-many-deep-contracts | 0.86 | 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 | 800K | 0 | 16.6 | 62.4 | MIT | 3 months ago | |
| zing/laravel-eloquent-relationships | 0.84 | — | 8 | 8 | 0 | 7K | 1 | 19.4 | 44.9 | MIT | 2 months ago | |
| znck/belongs-to-through | 0.84 | — | 1,265 | 605 | 98 | 340 | 0 | 33.1 | 1.6 | MIT | 3 months ago | |
| spatie/laravel-tail | 0.83 | Tail your Laravel application logs from the command line. Run php artisan tail to follow local single or daily logs, or tail remote environment logs over SSH (e.g., production) with configurable host, user, log directory, and optional file selection. | 748 | 758 | 45 | 36K | 0 | 28.7 | 26.4 | MIT | 3 months ago | |
| mr-punyapal/laravel-extended-relationships | 0.83 | Adds efficient, extended Eloquent relationship helpers for Laravel models to cut queries, boost performance, and reduce duplicate code. Includes a HasExtendedRelationships trait and custom relations like belongsToManyKeys. Compatible with Laravel 11–13 and PHP 8.2+. | 174 | 174 | 9 | 824 | 1 | 23.8 | 12.3 | MIT | 1 month ago | |
| spatie/laravel-collection-macros | 0.80 | Adds a curated set of handy macros to Laravel Collections, extending them with extra helper methods (e.g., positional accessors like second/third, after, getNth, and more). Auto-registers via Composer for quick, drop-in productivity boosts. | 1,906 | 1,910 | 145 | 216K | 0 | 37.5 | 31.8 | NOASSERTION | 3 months ago | |
| staudenmeir/eloquent-has-many-deep | 0.80 | Laravel Eloquent extension for “deep” has-many-through relationships across unlimited intermediate models. Supports many-to-many and polymorphic paths, combinations, and some third-party packages. Define relations by concatenating existing ones or configuring keys manually. | 2,862 | 2,864 | 160 | 538K | 2 | 45.4 | 35.9 | MIT | 2 months ago | |
| staudenmeir/eloquent-json-relations | 0.79 | Adds JSON foreign key support to Laravel Eloquent relationships (belongsTo, hasMany, morph*, through). Also enables many-to-many and has-many-through relations using JSON arrays (IDs or objects) across MySQL, Postgres, SQLite, SQL Server. | 1,080 | 1,085 | 64 | 249K | 6 | 32.8 | 38.8 | MIT | 3 months ago |
How can I help you explore Laravel packages today?