Registry / utility / typicms-nestablecollection

typicms-nestablecollection

JSON →
library6.0.1phppackagistunverified

A Laravel Package that extends Collection to handle unlimited nested items following adjacency list model.

composer require typicms/nestablecollection
INSTALL
IMPORT
SIG · TYPICMS-NESTABLECO
T
typicms-nestablecollection
utilityphpv6.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

NestableCollection
✓ use TypiCMS\NestableCollection\NestableCollection;

Convert a flat collection of items with parent IDs into a nested tree structure.

<?php use TypiCMS\NestableCollection\NestableCollection; $collection = new NestableCollection($items); $nested = $collection->toTree();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
typicms-nestablecollection — pip install typicms-nestablecollection · libregistry