@elieandraos Apart from nested set being bad choice in most cases :)
these are probably the most popular:
https://github.com/etrepat/baum
https://github.com/lazychaser/laravel-nestedset
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Is there anyway to use a nested set model with eloquent ORM? or i should implement it myself ? adding the left, right, depth, parent and all their functionalities in the model etc...
Please or to participate in this conversation.