cyberitas/io_utils
Composer 安装命令:
composer require cyberitas/io_utils
包简介
Drupal import export utilities
关键字:
README 文档
README
This module provides several utilities exposed via the drush command line to import, export, and manipulate Drupal entities.
Installation
This module requires some composer based dependencies. From your drupal root run the following commands:
composer require cyberitas/io_utils
drush pm:enable -y io_utils
Search and Replace Usage
Search and replace uses regular expressions, allowing back references, to replace values in all published entities. If the field-names option is omitted, it will search in all fields and replace in all supported field types.
drush io-utils:replace "/^foo-(.*)-baz$/" "bar-$1-baz" --field-names body,field_example
Export Usage
Creates a file called "drupal_post_17.json" or rewrites it, and puts in a json representation of a Drupal entity with ID of 17, and the final 0 to allow exporting unpublished entities.
io-utils:export-one 17 /example/entity_17.json 0
Import Usage
Reads a file called "block-17.json", and puts saved information into a new Drupal block content
io-utils:import-one-block-content /example/entity_17.json
Other
There are additional bulk operations, search operations, and services available for use. Refer to the drush command help for more information.
cyberitas/io_utils 适用场景与选型建议
cyberitas/io_utils 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5.4k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2021 年 05 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「drupal」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cyberitas/io_utils 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cyberitas/io_utils 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cyberitas/io_utils 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Provides an add-on purchasable entity.
Drupal integration module for the Kalastatic prototyping and styleguide tool
Provides a base set of configuration and module dependencies for starting new Drupal projects.
This module extends Drupal Migrate framework.
Installs and configures the WissKI base environment with mandatory modules.
Tiny set of PHP text utility classes.
统计信息
- 总下载量: 5.4k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2021-05-20