That is a pretty complicated use case. One tool that might be of use is https://github.com/etrepat/baum, which is a Laravel package that extends Eloquent to provide pretty robust support for hierarchical, tree-based relationships between models. I don't think it supports multiple inheritance, though. It's certainly nothing close to a complete solution to your problem, but it might help with some parts of it.
Did you find any package that solved the problem you were having. I am facing the same problem right now, and am trying to decide which package to use, or should i consider building one with only the things that I might need.
Thanks...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community