b13/content-sync
Composer 安装命令:
composer require b13/content-sync
包简介
Content Sync - Sync Database Tables and Files between two TYPO3 Installations
README 文档
README
This extension syncs raw database tables and selected files of directories between two TYPO3 installations.
This can be used to sync between a "content master" system, where editors work, and a "production" system which does not have a TYPO3 backend available. Both systems are connected via SSH.
This extension is - by design - very simplistic, and for other use-cases we recommend using Workspaces for publishing processes or in2publish as a more sophisticated solution.
Requirements
- MySQL is used as RDBMS and the mysqldump and mysql binaries must be available in the $PATH for PHP
- A SSH Connection to Remote Node by Key Authentication (can be configured via .ssh/config)
- helhum/typo3_console on target and source node must be available
Extension Configuration
- Configure Database Tables and Files to sync
- Configure your Source- and Target Node (TYPO3 Instances)
Backend Access
In order to see and kickstart a content sync, a new toolbar item on top is shown. Access is granted to Admin Users and to non-administrators with UserTSconfig:
options.enableContentSync = 1
Available TYPO3 CLI Commands
content-sync:job:create
creates a new Job from Extension-Configuration
content-sync:runner
runs one waiting job.
content-sync:collect-garbage
checks for any outdated jobs that are still running or waiting due to an error and removes them from the queue.
Ensure to have your scheduler set up.
Code Analysis
- run
./Build/Scripts/runTests.sh -p 8.2 -s composerUpdate - run
./Build/Scripts/runTests.sh -p 8.2 -t 13 -s phpstan - run
./Build/Scripts/runTests.sh -p 8.2 -t 13 -s cgl
License
As TYPO3 Core, content_sync is licensed under GPL2 or later.
b13/content-sync 适用场景与选型建议
b13/content-sync 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5.17k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2020 年 11 月 09 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 b13/content-sync 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 b13/content-sync 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-11-09