karls/data-mapper-bundle
Composer 安装命令:
composer require karls/data-mapper-bundle
包简介
Data Mapping Bundle for refactoring different scenarios
README 文档
README
Mapping old data JSON to new data JSON in unite-cms
Installation
via composer
composer require karls/data-mapper-bundle
in config/bundles.php
Karls\DataMapperBundle\KarlsDataMapperBundle::class => ['all' => true],
Usage
Image Mapping (S3 UUID fix)
Fixes S3 Storage problem, where the image is not save with an UUID.
karls@local:~/unitecms$ php bin/console karls:image-mapping
When you run this command you will be prompted to select the content_type where the images are located. You can use your arrow keys or simply typing in the content type name.
Please select the content_type: : [1] Formulare [3] Test [4] Bilder [5] Reference > Bilder
After submitting the content_type you will be asked which of the following types should be searched and refactored. You can use your arrow keys or type in multiple types at once (, comma separates the types).
Please select the type/s which to refactor: [0] mediaimage [1] text [2] image > mediaimage,image
Now the Command should execute and search for images that have no UUID and fixes them.
Data Mapping
Fixes Problems in content, where some data was changed and now needs to be renamed or inserted.
php bin/console karls:data-mapping
karls/data-mapper-bundle 适用场景与选型建议
karls/data-mapper-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 01 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 karls/data-mapper-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 karls/data-mapper-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-01-06