Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Closure Table Laravel Package

jiaxincui/closure-table

Closure table implementation for Laravel Eloquent models, adding fast hierarchical tree queries and operations—ancestors, descendants, siblings, moving nodes—without recursive queries. Simple trait integration with support for multiple trees.

View on GitHub
Deep Wiki
Context7
v3.1.1
v3.0.8

support laravel 13

v3.0.7
v3.0.5

修复字符ID导致sql错误 #32

v3.0.4

修复 toTree() 方法返回空 #31

v3.0.2

升级至 3.0.0 laravel 支持至 9.0 - 11.0 支持 字符id (如uuid) 规范了方法签名和返回值 优化了部分方法的内部逻辑 加入 sql 语句输入参数预检以实现对字符id的支持

v2.1.13

support laravel 9.0

2.1.12

Upgrade illuminate/database to version 6.20.26 or late

v2.1.11
2.1.10

root节点调用 getRoot()方法返回自身

2.1.8
  • 支持laravel 6.0
  • 修复了对数据库表前缀的支持
  • 优化SQL操作语句
v2.1.7

修复 getRoot() 因排序不确定导致获取到不准确的 root

2.1.6

修复parentColumn拼写错误

2.1.5

更新readme

2.1.3

修复 getTree() 当参数 columns 不包含 parent 列时生成树失败。

2.1.2

修复根结点获取Siblings的错误

2.1.1

if has restored method

2.1.0

注意:2.1.0开始getTree()方法返回的数据有所变化,多了一个[]包裹,以支持multi tree

2.0.6

判断是否有软删除事件restored

2.0.5

2.0.5

1.1.4

fix queryBesides() if this is root

1.1.3

加入addChild($collection)传入collection判断

1.1.2

moveTo()添加判断传入节点是否孤立节点

1.0.0

1.0.0

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator