fucodo/registry-editor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱: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

统计信息

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

GitHub 信息

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

其他信息

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