定制 space48/magento2-patches 二次开发

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

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

space48/magento2-patches

Composer 安装命令:

composer require space48/magento2-patches

包简介

A collection of patches for core Magento2

README 文档

README

A collection of Core Magento fixes currently waiting to be merged into Magento.

Sometimes you encounter a core magento bug which has been fixed in the main repo but is not yet distributed, this can be frustrating and you might want the fix yesterday, magento2-patches collects these patches and utilises vaimo/composer-patches to apply them to your code base.

Installation

composer require space48/magento2-patches:dev-master

Add a patch

Go to the PR in the magento2 repo which you want to apply, add .patch to the end of the url and github will produce a patch file for you, put this file in patches/Magento_ModuleName/magento2-issue-ISSUENUMBER.patch and then add an entry to the composer.json file of this repository:

"extra": {
    "patches": {
        "magento/module-name": {
            "Excellent description of the issue which people will see on composer install": {
                "source" : "patches/Magento_ModuleName/magento2-issue-ISSUENUMBER.patch",
                "version" : [
                    "MAGENTO-VERSION_NUMBER e.g. 100.2.*"
                ]
            }
        },

Then on composer install you will see the patch applied:

Processing patches configuration
  - Applying patches for magento/module-braintree (1)
    ~ space48/magento2-patches: patches/Magento_ModuleName/magento2-issue-ISSUENUMBER.patch [NEW]
      Excellent description of the issue which people will see on composer install

Writing patch info to install file

统计信息

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

GitHub 信息

  • Stars: 14
  • Watchers: 23
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-03-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固