© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
nicobrave

Nested Resources with manyToMany relationship

Hello!

What I'm trying to do:
I'm trying to implement a three-level deep nested resources project, where one of the relationship is a manyToMany relationship (ActivityEmployee).

These are the models and relationships:

A PROJECT has only one WORKGROUP.
A WORKGROUP may correspond to several PROJECTS.

A WORKGROUP has many EMPLOYEES.
An EMPLOYEE may correspond to several WORKGROUPS.

A PROJECT has many ACTIVITIES.
An ACTIVITY correspond to only one PROJECT.

An ACTIVITY may correspond to one or more EMPLOYEES.
An EMPLOYEE may correspond to one or more ACTIVITIES.

Basically I want to enter a PROJECT and see the related ACTIVITIES. Clicking on one of those ACTIVITIES I want to associate one or more EMPLOYEES.

This is a route example:
../projects/1/activities/3/employees/2

What I tried:
I tried "Nested Resources" by Guava, but it does not support manyToMany relationships.

Thanks!
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

FILAMENT MANYTOMANY RELATIONSHIP ISSUE:
FilamentFFilament / ❓┊help
2y ago
ManyToMany Relationship on AttachAction
FilamentFFilament / ❓┊help
2y ago
ManyToMany Relationship via Select element
FilamentFFilament / ❓┊help
2y ago
Issues with nested resources (maybe)
FilamentFFilament / ❓┊help
8mo ago