Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Relatable

Laravel Relatable Laravel Package

foxws/laravel-relatable

A Laravel package that adds reusable traits and helpers for defining and managing Eloquent relationships between models. It simplifies attaching, detaching, and querying related records, keeping relationship logic clean and consistent across your application.

View on GitHub
Deep Wiki
Context7

foxws/laravel-relatable adds a clean, trait-based layer for defining and managing Eloquent relationships in Laravel. Rather than scattering relationship logic across models, it lets you declare relatable models once and reuse them through a fluent, consistent interface that stays close to Laravel conventions.

  • A Relatable trait for standardised relationship definitions
  • Fluent helpers to attach, sync and detach related models
  • First-class support for polymorphic relations
  • Configurable relation keys and pivot handling
  • Framework-native design with no extra dependencies or bloat
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource