blueways/bw-jsoneditor
Composer 安装命令:
composer require blueways/bw-jsoneditor
包简介
Adds a JSON Form Editor type to the TYPO3 Backend. Edit JSON data with code formatting, syntax highlighting, auto repair and more.
README 文档
README
TYPO3 extension bw_jsoneditor
Integrates the svelte-jsoneditor into the TYPO3 Backend.
Installation
Composer
composer require blueways/bw-jsoneditor
TER
Download the zip file from TYPO3 extension repository (TER).
Usage
The extension adds a new custom input with
renderType jsonEditor. You can use the new type in TCA or Content Blocks.
TCA
When adding a new field to your TCA, use the type user and the renderType jsonEditor:
ExtensionManagementUtility::addTCAcolumns('my_table', [ 'new_field' => [ 'label' => 'My JSON Field', 'config' => [ 'type' => 'user', 'renderType' => 'jsonEditor', ], ], ]);
Make sure the database column of your field is large enough:
-- ext_tables.sql CREATE TABLE my_table ( new_field text );
Content Blocks
You can use the new renderType in Content Blocks by adding the following configuration:
fields: - identifier: new_field label: 'My JSON Field' type: Textarea renderType: jsonEditor
Configuration
You can configure the JSON Editor with the offical API by adding the settings to the options array:
$GLOBALS['TCA']['my_table']['columns']['my_field']['config']['options'] = [ 'mode' => 'tree' ];
The new option height controls the maximum height of the editor, it defaults to auto. Setting a value in pixels will
set a fixed height to the editor.
License
This project is licensed under GNU General Public License 2.0 (or later).
blueways/bw-jsoneditor 适用场景与选型建议
blueways/bw-jsoneditor 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 67.47k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 04 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「json」 「typo3」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 blueways/bw-jsoneditor 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 blueways/bw-jsoneditor 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 blueways/bw-jsoneditor 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Kinikit - PHP Application development framework MVC component
Set Links with a specific language parameter
ext-json wrapper with sane defaults
A package to cast json fields, each sub-keys is castable
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
An interactive tour through the TYPO3 backend.
统计信息
- 总下载量: 67.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 34
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-04-30
