Download the PHP package bluestone/tree without Composer
On this page you can find all versions of the php package bluestone/tree. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package tree
About Tree
Installation
This package requires php:^8.1
.
You can install it via composer:
Usage
Tree instance need items to forge the expected data structure.
How to forge a tree with array as items ?
By default, a tree expect id
and parentId
fields in give items like this :
How to forge a tree with custom fields ?
You can customize the parentKey
and the primaryKey
like this :
How to serialize a tree to json ?
The result of the json_encode
is a string with contains :
How to forge a tree with object as items ?
You can pass object as items with expected id
and parentId
public property like this :
Contributing
Tree is an open source project under MIT License and is open for contributions.
All versions of tree with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
The package bluestone/tree contains the following files
Loading the files please wait ....