thybag/bonus-laravel-relations
Extends Laravel's Eloquent ORM with bonus relationship types beyond the built-in hasOne, hasMany, and belongsTo helpers, making it easy to define richer model associations and reuse common relation patterns without writing custom query code.
Caveat: the 0.6.0 notes contain only the Laravel 13 line item. No feature, deprecation, or breaking-change detail is available, so the capability claims above are inferred from the package's stated purpose and should be confirmed against the repository README before any decision.
Consider it when:
hasMany / belongsToMany / hasManyThrough for legitimate domain relationships, and you'd otherwise write bespoke relation classes.Look elsewhere or build in-house when:
composer.json rather than relying on release notes alone.To executives: This is a small, free, open-source add-on that saves engineering time on tricky database relationship code, and the new 0.6.0 release keeps it compatible with the latest Laravel. There is no license cost and no procurement cycle. The trade-off is that it's maintained by a very small team and hasn't reached a 1.0 stability milestone, so we'll use it selectively and keep our own tests around it — not treat it as strategic infrastructure.
To engineering: 0.6.0 is effectively a compatibility release: it adds Laravel 13 support and nothing else of note. Treat it as the minimum version to pin if we're moving to Laravel 13. Recommended handling: pin exactly, isolate usage behind repository/query objects so it's replaceable, and add characterization tests around any relationship it backs. Re-read the 0.5.1→0.6.0 diff during upgrade since pre-1.0 minor bumps carry no compatibility promise.
How can I help you explore Laravel packages today?