PHPackages                             space48/magento2-patches - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. space48/magento2-patches

ActiveLibrary

space48/magento2-patches
========================

A collection of patches for core Magento2

142.8k↓100%6[3 issues](https://github.com/Space48/magento2-patches/issues)

Since Mar 20Pushed 7y ago23 watchersCompare

[ Source](https://github.com/Space48/magento2-patches)[ Packagist](https://packagist.org/packages/space48/magento2-patches)[ RSS](/packages/space48-magento2-patches/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Magento Patches
===============

[](#magento-patches)

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
------------

[](#installation)

`composer require space48/magento2-patches:dev-master`

Add a patch
-----------

[](#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

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fc6deb604a4a18e3d7b9f8d73a8ad52bd8f9556e6d84f6fb0ee76eeee65b330?d=identicon)[space48](/maintainers/space48)

![](https://www.gravatar.com/avatar/82fc5b106e7db89cf47a5dc52262c4b2e5fa131337a36be1a2efc70b7d620c7e?d=identicon)[DanCarlyonSpace48](/maintainers/DanCarlyonSpace48)

---

Top Contributors

[![DanCarlyon](https://avatars.githubusercontent.com/u/4364774?v=4)](https://github.com/DanCarlyon "DanCarlyon (23 commits)")[![joshdifabio](https://avatars.githubusercontent.com/u/5609851?v=4)](https://github.com/joshdifabio "joshdifabio (5 commits)")[![dangron](https://avatars.githubusercontent.com/u/9016317?v=4)](https://github.com/dangron "dangron (3 commits)")[![adampmoss](https://avatars.githubusercontent.com/u/4948435?v=4)](https://github.com/adampmoss "adampmoss (1 commits)")[![georgeschiopu](https://avatars.githubusercontent.com/u/3717783?v=4)](https://github.com/georgeschiopu "georgeschiopu (1 commits)")

### Embed Badge

![Health badge](/badges/space48-magento2-patches/health.svg)

```
[![Health](https://phpackages.com/badges/space48-magento2-patches/health.svg)](https://phpackages.com/packages/space48-magento2-patches)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
