Full Changelog: https://github.com/TypiCMS/NestableCollection/compare/5.0.0...6.0.0
Laravel 11
Adds ability to return a fully qualified version of a flattened list.
Usage:
Model::orderBy('parent_id')->get()->nest()->setIndent(' > ')->listsFlattenedQualified();
Example:
'22' => 'Item 1 Title',
'10' => 'Item 1 Title > Child 1 Title',
'17' => 'Item 1 Title > Child 2 Title',
'14' => 'Item 2 Title',
How can I help you explore Laravel packages today?