定制 fucodo/registry-editor 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

fucodo/registry-editor

Composer 安装命令:

composer require fucodo/registry-editor

包简介

README 文档

README

This package provides a small editor UI for managing configuration entries of the base registry package fucodo.registry.

It extends the configuration of the actual registry — it does not replace it. For the core concepts and configuration schema, see the base package at:

  • Packages/Application/fucodo.registry

What it does

  • Reads defaults (labels, descriptions, types, defaults) from Settings.fucodo.registry.defaults.yaml.
  • Lists entries by namespace/key with human-friendly metadata.
  • Lets you edit values via a backend/editor interface.

Relevant files in this package

  • Classes/Domain/Dto/EntryDto.php
  • Classes/Controller/EditorController.php
  • Resources/Private/Templates/Editor/Edit.html

Configuration defaults

Define or extend defaults in your Flow settings, e.g.:

  • Configuration/Settings.fucodo.registry.defaults.yaml (global)

Each entry can define:

  • label
  • description
  • type (e.g., Text, Boolean)
  • default

The editor consumes these for UI rendering. The runtime merge and resolution rules are implemented in fucodo.registry.

Example

# add defaults here with the namespace key and then the actual key
# only comes in effect, when no value and no fallback are given
#
fucodo:
  registry:
    defaults:
      KayStrobach_Invoice_NormalInvoiceSettings:    # <--- the namespace
        title:                                    # <--- the key
          type: Text                            # <--- the field type, should be Text
          label:                                # <--- the label (human readable)
          default: Rechnung                     # <--- the default also used from the registry package
          description:                          # <--- the description (human readable)

See also

  • Base registry package: fucodo.registry

License

MIT

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固