oxid-solution-catalysts/exportimport-tools
Composer 安装命令:
composer require oxid-solution-catalysts/exportimport-tools
包简介
OXID eSales extension for oe-console to im- and export the database
README 文档
README
Extension for OXID OE-Console to Im- and Export the Database via commandline
Documentation
this file
Branch Compatibility
- b-6.5.x branch is compatible with OXID eShop compilation 6.2, 6.3, 6.4, 6.5
DEV-System
- please use for developing an OXID eShop compilation 6.5
Installation
Installation via composer
composer require oxid-solution-catalysts/exportimport-tools ^1.0.0
Usage
Configuration
Use a configuration YAML e.g. dump.yaml and save it here: var/configuration/exportimport-tools/dump.yaml
Contents of the configuration YAML
dumpFileName: dump.sql
onlyTables:
- oxarticles
- oxartextends
anonymizeRowsInTables:
oxuser:
- oxfname
- oxlname
oxorder:
- oxbillfname
- oxbilllname
- oxdelfname
- oxdellname
- "dumpFileName": Name of the dumpfile
- "onlyTables": export only the tables you want. Leave emtpy, if you want dump all tables
- "anonymizeRowsInTables": possibility to anonymize Data. This is good, if you want use the database in test-environments. Leave emtpy, if you want dont want anonymize Data.
Dump or export Data
vendor/bin/oe-console osc:db:export --yaml=dump.yaml
The dump is created in the /source/export/ directory. The name of the dump is the defined "dumpFileName" from the Configuration YAML.
The --yaml option contains the name of the configuration file, which is located in the directory: var/configuration/exportimport-tools/
Import Data
vendor/bin/oe-console osc:db:import --yaml=dump.yaml
The dump is read from the /source/import/ directory. The name of the dump is the defined "dumpFileName" from the Configuration YAML
The --yaml option contains the name of the configuration file, which is located in the directory: var/configuration/exportimport-tools/
Running tests
Run
Code Style
composer phpcs --working-dir=extensions/osc/exportimport-tools
PHPmd
composer phpmd --working-dir=extensions/osc/exportimport-tools
PHPStan
composer phpstan --working-dir=extensions/osc/exportimport-tools
oxid-solution-catalysts/exportimport-tools 适用场景与选型建议
oxid-solution-catalysts/exportimport-tools 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 505 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 09 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「import」 「modules」 「export」 「eshop」 「OXID」 「oe-console」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 oxid-solution-catalysts/exportimport-tools 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 oxid-solution-catalysts/exportimport-tools 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 oxid-solution-catalysts/exportimport-tools 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This is Paymorrow module for OXID eShop.
Bulk export of sylius resources
Parse use statements for a reflection object
Tool for copying data from a production database to a dev database. Also useful for making backups of production databases.
A fork of konnco/filament-import with support of Laravel 11 since the default importer of Filament 3 is nonsense for basic use case.
Analysis module for finding problematical shop data.
统计信息
- 总下载量: 505
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2023-09-22