Download the PHP package cvoid/easytree without Composer
On this page you can find all versions of the php package cvoid/easytree. 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 easytree
EasyTree
- 主要用于将有父子关系的行结构数据整理成为树结构数据。
[]() []()
Requirement
- PHP >= 7.2
- Composer
Installation
Usage
api
toArray 转数组
toJson 转json
each 遍历树
search 遍历树搜索符合条件的第一个值
searchAll 遍历树搜索符合条件的所有值
contain 判断是否包含某个值
getChildTree 根据search出来的子节点构成一个新的树
isOverLevel 判断树是否超出高度
toArray
toJson
each
search
searchAll
contain
isOverLevel
License
MIT
All versions of easytree with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1|^8.0
ext-json Version *
ext-json Version *
The package cvoid/easytree contains the following files
Loading the files please wait ....