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

Tlrv Laravel Package

sowork/tlrv

View on GitHub
Deep Wiki
Context7

TLRV

树形数据字典

用途

  • 菜单选择
  • 权限管理
  • 数据库类别字段特殊含义
  • 一切以父子关系关联的

安装

  • composer安装 composer require sowork/tlrv dev-master
  • 注册:在config/app.php文件中providers数组中注册提供者 Sowork\TLRV\TLRVProvider::class,

效果如下

  • uid唯一id作为查询主键
  • node_value 是value值
  • addition作为拓展信息

使用

  • php artisan vendor:publish 发布资源(数据库表、组件、视图文件)
  • npm install or yarn 命令安装前端模块
  • 在 resource/assets/js/app.js 里注册组件 Vue.component('tlrv-node', require('./components/TLRVNode.vue'));
  • 浏览器访问 域名/tlrv 即可预览
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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table