ttree/rebirth
Composer 安装命令:
composer require ttree/rebirth
包简介
Neos Content Repository Helper to rebirth orphaned nodes
README 文档
README
This package can help you to move orphaned node in the Neos Content Repository.
Warning: Working with broken / orphaned nodes can be hard, please backup your data before using this package.
Currently this package supports only document nodes restoration. That means you can only restore documents including their content (and further children), but not only content that has been orphaned.
How to use ?
- Optional: For each site where you want to restore orphaned nodes, you can create a "Trash" node. This can be used as the automatically detected target for document node restoration.
- Go to the CLI and run the restore command.
CLI commands
List the current orphaned document nodes
flow rebirth:list
List the current orphaned nodes for a specific type
flow rebirth:list --type Neos.Neos:Document
Restore everything under the "Trash" node of the current site
flow rebirth:restore
Note: if you have no Trash node, this will fail with the message Missing restoration target for the current
node. Either create a Trash node or specify the target node using --target.
Restore everything under the "Trash" node of the current site, only for the given type
flow rebirth:restore --type Neos.Neos:Document
Restore everything under the given target node
flow rebirth:restore --target f34f834b-c36b-43eb-a580-f0e2f168b241
Prune all orphaned document nodes
flow rebirth:prune
Prune all orphaned document nodes for a specific type
flow rebirth:prune --type Neos.Neos:Document
Troubleshooting
If you get the message Missing restoration target for the current node even though a Trash node has been created, make sure you have a Trash node matching the context of the nodes to be restored. Specifically check the content dimensions. You must have a Trash node that can be found in the same dimension value combination as the node to be restored.
Acknowledgments
Development sponsored by ttree ltd - neos solution provider.
We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.
License
Licensed under MIT, see LICENSE
ttree/rebirth 适用场景与选型建议
ttree/rebirth 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 862 次下载、GitHub Stars 达 6, 最近一次更新时间为 2017 年 03 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「maintenance」 「Neos」 「neos content repository」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ttree/rebirth 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ttree/rebirth 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ttree/rebirth 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
An enhanced drop-in replacement for Laravel's maintenance mode
An improved history backend module for Neos
Maintenance page plugin
A block that displays featured content - large image, title, description and link.
Neos Content Repository Helper to rebirth orphaned nodes
Maintenance page, pretty and simple.
统计信息
- 总下载量: 862
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-03-13