laravel-nestedset
laravel-nestedset copied to clipboard
Effective tree structures in Laravel 4-8
Tree between 2 nodes
Hi, is possible in some way get the subtree between 2 nodes? With helper i'm able to check if a node `isDescendantOf` or `isAncestorOf`, but how to get just this...
Hi, On the main page of this repo, the last release seems to be five years old, except that the last tag was pushed in 2021.   I think...
Can't install on Laravel 6
Problem 1 - kalnoy/nestedset[v6.0.0, ..., v6.x-dev] require illuminate/support ^7.0|^8.0 -> found illuminate/support[v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require. -...
Creating child of scoped node
Is there a way to create child nodes with the scope automatically applied? Below is what I am trying: ``` class Location extends Model { use NodeTrait; protected $guarded =...
i am using this package for comments but when i use the model to make a query with a where method on a column it gives no result ! for...
I want to get the id of the child, and if the child has a child, take the id as well and so on, and for the same parent I...
I already have existing system. This package is required left ,right and parent column. But I my structure is upline and downline. How to use this package in my scenario?...
create() with children attribute throwing error
I am sending the following array to the create() ``` array(3) { ["name"]=> string(4) "cat1" ["company_id"]=> int(1) ["children"]=> array(1) { array(2) { ["name"]=> string(4) "cat2" ["company_id"]=> int(1) } } }...
Laravel Nova support
Hello, it would be perfect, if you create Nova tool for your package.
How to fix the tree after adding nesting set through a migration?
I need to add the nested set columns to an existing table. Adding the nested set columns with a migration like below works as intended, but the tree is in...