prestashop/composer-script-handler 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

prestashop/composer-script-handler

最新稳定版本:0.6

Composer 安装命令:

composer require prestashop/composer-script-handler

包简介

Composer Script Handler for PrestaShop

README 文档

README

This scripts allows to install modules in modules folder, with no update of main vendor folder.

Installation

composer require prestashop/composer-script-handler --dev

Use

In your Shop, you can now declare modules into "prestashop.modules" in the "extras" section of Composer.

Once you do that, on "install" process, the list of modules will be installed and can be overwritten on demand.

Configuration

You can configure the list of modules, the number of process to paralleling the download of modules and the timeout to wait for download status.

  • modules: this is the list of Composer packages with a version, they must be of "prestashop-module" type;
  • processes: it's the number of parallel process allowed to download modules (2 by default)
  • update-frequency: the time to wait before check the status of each current processes,in ms (2000 by default)
{
    "name": "my/shop",
    "...": "...",
    "scripts": {
        "post-install-cmd": [
            "PrestaShop\\Composer\\ScriptHandler::install"
        ]
    },
    "extra": {
        "prestashop": {
            "modules": {
                "prestashop/blockreassurance": "^3",
                "prestashop/contactform": "^4",
                "prestashop/dashactivity": "^2",
                "prestashop/dashgoals": "^2"
            },
            "processes": 2,
            "update-frequency": 80
        }
    }
}

Performances

You may not need to overwrite modules installation between parallel builds during CI operations. You can disable this feature using NO_OVERWRITE environment variable when calling composer install command.

This project is under MIT license

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 11
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固