承接 oxid-solution-catalysts/exportimport-tools 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

oxid-solution-catalysts/exportimport-tools

最新稳定版本:v1.0.1

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

统计信息

  • 总下载量: 490
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 7
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2023-09-22