PHPackages                             concretecms/dependency-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. concretecms/dependency-patches

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

concretecms/dependency-patches
==============================

Patches required for concrete5 and Concrete CMS dependencies

1.7.8(8mo ago)4124.2k↓27.1%23MITCI passing

Since Nov 9Pushed 8mo ago6 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (18)Used By (3)

[![Tests](https://github.com/mlocati/concretecms-dependency-patches/actions/workflows/tests.yml/badge.svg)](https://github.com/mlocati/concretecms-dependency-patches/actions/workflows/tests.yml)

Dependency patches for concrete5 and Concrete CMS
=================================================

[](#dependency-patches-for-concrete5-and-concrete-cms)

concrete5 v8 and Concrete CMS v9+ use a lot of third party libraries, installed via Composer.

Internal changes in newer PHP versions require to upgrade some of those composer packages, but some of them are no more compatible with the PHP versions we support, or they haven't been fixed yet.

This `dependency-patches` project contains those required patches, so that concrete5 and Concrete CMS can still use them.

How to use
----------

[](#how-to-use)

The official releases of concrete5 and Concrete CMS that can be downloaded from  already contain the patches included in `dependency-patches`.

If you use a composer-based concrete5/Concrete CMS installation you need to add these lines to your `composer.json` file:

- in the `require` section (it it's not already included in the `composer.json` file that comes with concrete5/Concrete CMS): ```
    "concretecms/dependency-patches": "^1",
    ```
- in the `extra` section: ```
    "allow-subpatches": [
        "concretecms/dependency-patches"
    ],
    ```

How to add a new patch
----------------------

[](#how-to-add-a-new-patch)

If you want to patch a composer package named `/` at version `1.2.3`, you should:

1. create the `.patch` file:
    1. in the Concrete root directory, run `composer reinstall / --prefer-source` (requires composer 2.1+) to have a git repository
    2. run `git checkout -b my-patch ` inside the package directory (where `` is the tag corresponsing to the installed package version)
    3. edit the required files
    4. create a commit with the changes, by running `git commit -am "My wonderful patch"`
    5. create a patch file by running `git format-patch --no-stat -1`
    6. edit that patch by removing useless lines, like:
        - the initial `From  `
        - the git-specific lines (they start with `diff --git ...` and `index sha1..sha1`
        - the closing comments, if any (the `--` line at the end of the file and any other lines after it)
    7. move the .patch file to the `/` directory in the dependency-patches repository
2. add a `/:1.2.3` key to the `extra`.`patches` section of the `composer.json` file of this project. For example: ```
    "/:1.2.7": {
        "Description of the patch": "//name-of-the-patch-file.patch"
    },
    ```
3. to test the patch locally, you can edit the `composer.json` file of your concrete5/Concrete CMS installation, adding:
    - In the `require` section: ```
        "concretecms/dependency-patches": "dev-master"
        ```
    - In the `repositories` section: ```
        {
            "type": "path",
            "url": "relative/or/absolute/path/to/your-local/dependency-patches"
        }
        ```

        PS: on Windows, you can use forward slashes (`/`) instead of back-slashes (`\`) as the directory separator.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance58

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 66.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.

###  Release Activity

Cadence

Every ~155 days

Recently: every ~224 days

Total

17

Last Release

265d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/842d2fe13512e82f0f9b6f0d79dba8eba1595a3cefd31dd51723960436133307?d=identicon)[KorvinSzanto](/maintainers/KorvinSzanto)

![](https://www.gravatar.com/avatar/d8d8902700dc0979d0cb96ff69a17808f74823c0c2b4ef75d91aba2f66d6f5fb?d=identicon)[aembler](/maintainers/aembler)

---

Top Contributors

[![mlocati](https://avatars.githubusercontent.com/u/928116?v=4)](https://github.com/mlocati "mlocati (38 commits)")[![aembler](https://avatars.githubusercontent.com/u/527809?v=4)](https://github.com/aembler "aembler (11 commits)")[![KorvinSzanto](https://avatars.githubusercontent.com/u/1007419?v=4)](https://github.com/KorvinSzanto "KorvinSzanto (4 commits)")[![ahukkanen](https://avatars.githubusercontent.com/u/864340?v=4)](https://github.com/ahukkanen "ahukkanen (3 commits)")[![deek87](https://avatars.githubusercontent.com/u/23059797?v=4)](https://github.com/deek87 "deek87 (1 commits)")

### Embed Badge

![Health badge](/badges/concretecms-dependency-patches/health.svg)

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

###  Alternatives

[friendsofphp/pickle

Installer for PHP extension, supports pecl package or install from src tree directly

1.7k3.3k](/packages/friendsofphp-pickle)[jaocero/filachat

FilaChat is a plugin for integrating real-time customer support chat into your application. Provides tools for both customer and agent chat interfaces, with features for managing and maintaining chat conversations.

1813.6k](/packages/jaocero-filachat)

PHPackages © 2026

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