laravel-nestedset
laravel-nestedset copied to clipboard
Effective tree structures in Laravel 4-8
How do I order the following results set alphabetically? $towns = Area::descendantsOf($rootId)->toTree($rootId);
I have database request with data serialized to array ``` $columns = ['id', '_lft', '_rgt', 'parent_id', 'title', 'slug', 'icon', 'description', 'image', 'metatitle', 'metakey', 'metadesc']; $result = $this ->startConditions() ->whereSlug($slug) ->select($columns)...
Hello, by default github display th v5 branch instead of a main/master branch, but the last version seems v6 It's a bit confusing, is it possible to change this? The...
Please add support for Laravel 9. Thanks
Same Fix as https://github.com/lazychaser/laravel-nestedset/pull/547, which is already merged to `v5` But this time directed to v6. @lazychaser is there a particular reason that `v5` is the default branch? If i...
This is an automated pull request from [Shift](https://laravelshift.com) to update your package code and dependencies to be compatible with Laravel 9.x. **Before merging**, you need to: - Checkout the `l9-compatibility`...
The main issues were minor after finally digging in on this. 1. The parent id needed to be a string to allow for UUID 2. the 'incrementing' needs to be...
Fix for [issue #513](https://github.com/lazychaser/laravel-nestedset/issues/513)
The `isLeaf()` method works as expected, but when using on a model with SoftDeletes, whenever you delete the single child of a node, the parent node should be considered as...