承接 daandelange/tabsfield 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

daandelange/tabsfield

Composer 安装命令:

composer require daandelange/tabsfield

包简介

A tabs field for the panel, to use with `when` conditions in field and section blueprints.

README 文档

README

A tabs field for the panel, to use with when conditions in field and section blueprints.

Features:

  • Uses the native k-tabs panel component (slightly extended).
  • Remembers the last open tab (using the browser's local storage).
  • The field value is never saved in the content file (but present in the panel's form values).
  • The field value is available for usage with when conditions (javascript).
  • Tabs can have labels and icons.

Note: As of version 1.0.0, this plugin doesn't use KirbyContentHackModule anymore. Thanks to Kirby4 panel changes, the implementation is way cleaner now.

Screenshot of Kirby plugin: TabsField

Requirements

Please refer to the following Kirby version compatibility table.

Kirby version TabsField version
Kirby 3.6+ TabsField 0.1.0-beta+
Kirby 4.0+ Unsupported
Kirby 5.0+ TabsField 1.0.1+

Installation

  • Manually: Download and copy this repository to /site/plugins/tabsfield.
  • Git submodule: git submodule add https://github.com/daandelange/kirby-tabsfield.git site/plugins/tabsfield
  • Composer: composer require daandelange/tabsfield

Setup

Everything is scriptable trough blueprints.

  1. Add one or multiple tabs field(s) to your fields sections, providing each of them with some tabs. More information on native Kirby Tabs.
    *Note: As any kirby field, every tab field must have a unique key within your blueprint setup.
  2. Add corresponding when: conditions to your fields and/or sections.

Example / Tutorial:

sections:
  fields:
    type: fields
    sticky: true
    fields:
      sidebartab:
        type: tabs
        # Tabs must have a name and a both optional label and icon
        tabs: 
          - name: metainfo
            icon: tag
            label: Info
          - name: files
            icon: file
            label: Files
      categories:
        type: tags
        label: Categories
        # Shows this individual field when the metainfo tab is active
        when:
          sidebartab: metainfo
      author:
        type: users
        label: Author
        min: 1
        required: true
        # Shows this individual field when the metainfo tab is active
        when:
          sidebartab: metainfo
  files:
    type: files
    headline: File Manager
    # Shows this individual field when the files tab is active
    # (the same can be done with a files section)
    when:
      sidebartab: files

Options

There are no options available yet. Would you like to contribute some ?

Development

  • pnpm install : Install the required dependencies.
  • pnpm run dev : Develop mode (listen/compile).
  • pnpm run build : Compile for publishing.

License

MIT - Free to use, free to improve !

However, for usage in commercial projects, please consider to improve the plugin a little and contribute back the changes with a PR, or hire someone to do so.

Credits

In loving memory of the Kirby 2 alternative : Kirby-Tabs-Field by @afbora.

Author: Daan de Lange

daandelange/tabsfield 适用场景与选型建议

daandelange/tabsfield 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 19, 最近一次更新时间为 2025 年 05 月 07 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「kirby3」 「kirby-plugin」 「kirby-cms」 「kirby5」 「kirby-field-plugin」 「kirby-panel-plugin」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 daandelange/tabsfield 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 daandelange/tabsfield 我们能提供哪些服务?
定制开发 / 二次开发

基于 daandelange/tabsfield 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 19
  • 点击次数: 35
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 2
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-07