© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
foobzxbt

Show dedicated resource view for a relationship

I was wondering if the following is possible in FilamentPHP.

I have
Companies
Companies
&
Employees
Employees
.
Company
Company
has a
hasMany
hasMany
relationship called
employees
employees

Employee
Employee
has a
belongsToMany
belongsToMany
relationship called
companies
companies


Now I want to show a dedicated resource view for the
Employees
Employees
when I go to
/companies/[COMPANY-ID]/employees
/companies/[COMPANY-ID]/employees
.
From what I found right now, I can add employees when you are on the create page of company. But I also want to have a dedicated page when the company has been created to manage the employees without going via the
companies/[COMPANY-ID]/edit
companies/[COMPANY-ID]/edit
page.

Is this achievable?

Thank you very much.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Adding a "hasOne" relationship in the resource view.
FilamentFFilament / ❓┊help
2y ago
relationship on a resource
FilamentFFilament / ❓┊help
3y ago
Can I default a Resource relationship to show an edit form instead of table view?
FilamentFFilament / ❓┊help
5mo ago
Action button in View Resource to Show Create Popup based on Relationship Manager
FilamentFFilament / ❓┊help
2y ago