Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I have already tried laravel-nestedset but it works partially with mongodb; accessing ancestors or descendants relation throws exceptions.
In previous projects I've used https://github.com/jenssegers/laravel-mongodb it has the concept of embedded relationships which I think is what you are trying to do?
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- MongoDB Laravel Integration Now Officially Supported!
- likelyhood of MongoDb composer package being maintained for 10x?
- Made a package to performantly convert a flat collection of hierarchical data to a nested collection for things like Org Charts. Feedback appreciated.
- How to best load a large DB tree structure into frontend
- Hi, How can I implement recursive relashionship in my code between employee and a manager? I have one table called employee with attribute manager_id but i don't know what I should add in my employee model and migation class ? An example Would be really helpfull and thank you in advance.