© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
3 replies
Homd

Show Parent Relationship.

Hi guys, I need a little help figuring this out.
The title might be a bit misleading, I just cannot word it better.

I have 3 Model

Model Level -> hasmany Model Project

Model Level -> hasmany Model Classroom

Now in the classroom edit page, I want to show all the project that the classroom inherit from its level.

How should I approach this?

Thanks!
Solution
For anyone searching something similar:

This plugin is awsome holy shit:
https://github.com/staudenmeir/eloquent-has-many-deep

It handles every complex relationship
GitHub
GitHub - staudenmeir/eloquent-has-many-deep: Laravel Eloquent HasMa...
Laravel Eloquent HasManyThrough relationships with unlimited levels - GitHub - staudenmeir/eloquent-has-many-deep: Laravel Eloquent HasManyThrough relationships with unlimited levels
GitHub - staudenmeir/eloquent-has-many-deep: Laravel Eloquent HasMa...
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

getting parent relationship in form
FilamentFFilament / ❓┊help
3y ago
Conditionally show Relationship (manager)
FilamentFFilament / ❓┊help
2y ago
Show relationship in textbox
FilamentFFilament / ❓┊help
3y ago
Show parent column inside CheckboxList
FilamentFFilament / ❓┊help
3y ago