定制 lingaro/module-sample-data 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

lingaro/module-sample-data

最新稳定版本:1.0.1

Composer 安装命令:

composer require lingaro/module-sample-data

包简介

Lingaro sample data module

README 文档

README

Module adds command to dump media product images with some limitations:

  • Selective products SKUs
  • Total max products images size

It allows you to make convenient-size data snapshots for project/developers/CICD processes. You can filter only needed products including various products types or limit total images weight to given size.

Install

composer require lingaro/module-sample-data
bin/magento setup:upgrade

Usage

bin/magento lingaro:sampledata:media [--skus=SKU1,SKU2,...] [--max-size=N] [--maintenance]
  • --skus=SKU1,SKU2,... - Optional, filter comma separated SKUs
  • --max-size=N - Optional, allowes to limit aggregated size of product images to N (in MB).
  • --maintenance - Optional, enable maintenance mode

Only product selection

Complex product children will be attached into the dump too.

bin/magento lingaro:sampledata:media --skus=WJ10,WJ11,WJ12

Limit product images size

In this case product images will be limited to 20MB

bin/magento lingaro:sampledata:media --max-size=20

Mixed filters

bin/magento lingaro:sampledata:media --skus=WJ10,WJ11,WJ12 --max-size=20

Full dump

bin/magento lingaro:sampledata:media

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-06-07