Skip to content

skynixukraine/Magento-2-Patch-Session-Regenerate-Resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Magento Patch

Patch for core Magento2.

Installation

composer require skynix/m2-session-issue: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/framework (1)
    ~ skynix/m2-session-issue: 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published