定制 oxid-esales/media-library-module 二次开发

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

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

oxid-esales/media-library-module

最新稳定版本:v4.1.0

Composer 安装命令:

composer require oxid-esales/media-library-module

包简介

Media library for OXID eShop

README 文档

README

Development Latest Version PHP Version

Quality Gate Status Coverage Technical Debt

Module provides basic media files management.

Compatibility

Versions

  • v4.x is compatible with eShop compilation 7.4.x and higher
  • v3.0.x is compatible with eShop compilation 7.3.x and higher
  • v2.1.x is compatible with eShop compilation 7.2.x and higher
  • v2.0.x is compatible with eShop compilation 7.1.x and higher
  • v1.0.x is compatible with eShop compilation 7.1.x and higher

Branches

  • b-7.4.x is compatible with shop b-7.4.x branches
  • b-7.3.x is compatible with shop b-7.3.x branches
  • b-7.2.x is compatible with shop b-7.2.x branches
  • b-7.1.x is compatible with shop b-7.1.x branches

Development installation on OXID eShop SDK

The installation instructions below are shown for the current SDK for shop 7.4. Make sure your system meets the requirements of the SDK.

  1. Ensure all docker containers are down to avoid port conflicts

  2. Clone the SDK for the new project

echo MyProject && git clone https://github.com/OXID-eSales/docker-eshop-sdk.git $_ && cd $_
  1. Clone the repository to the source directory
git clone --recurse-submodules https://github.com/OXID-eSales/media-library-module.git --branch=b-7.4.x ./source
  1. Run the recipe to setup the development environment
./source/recipes/setup-development.sh

You should be able to access the shop via

Running the tests and quality tools

Check the "scripts" section in the composer.json file for the available commands. Those commands can be executed by connecting to the php container and running the command from there, example:

make php
composer tests-coverage

Commands can be also triggered directly on the container with docker compose, example:

docker compose exec -T php composer tests-coverage

Rebuilding the assets

To rebuild the assets, latest node docker container can be used. The one is pulled automatically if you are using the installation method from the previous section. What is left - connect to the container, install the npm dependencies and run the assets building process

make node
npm install
npm run build

Alternatively, if you're actively developing and want changes to be applied automatically, you can enable watch mode:

npm run watch

Migration

After updating the Media Library module, ensure you run the database migrations:

vendor/bin/oe-eshop-doctrine_migration migrations:migrate ddoemedialibrary

License

OXID Module and Component License, see LICENSE file.

Bugs and Issues

If you experience any bugs or issues, please report them in the section module Media Library of https://bugs.oxid-esales.com.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-09-06