Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 19, 2024 via composer

cweagans/composer-patches 2.0.0-beta1

Provides a way to patch Composer packages.
Package summary
Share
0
issues
1
license
2
BSD-3-Clause
Package created
22 Apr 2015
Version published
1 Jul 2023
Maintainers
1
Total deps
2
Direct deps
1
License
BSD-3-Clause

Issues

0
This package has no issues

Licenses

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
cweagans/composer-configurable-plugin@2.0.0
cweagans/composer-patches@2.0.0-beta1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of cweagans/composer-patches 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
cweagans/composer-configurable-plugin2.0.054.46 kBBSD-3-Clause
prod

Visualizations

Frequently Asked Questions

What does cweagans/composer-patches do?

The cweagans/composer-patches is a simple yet powerful tool designed for Composer. Its primary function is to apply patches to any dependency installed by Composer from a local or remote file. This functionality allows developers to modify the behavior of integrated packages without changing the package code directly. It's an excellent tool for maintaining package compatibility while implementing custom changes required for specific project needs.

How do you use cweagans/composer-patches?

To use cweagans/composer-patches, it needs to be included in your project. You can do this by adding it as a dependency using Composer's require command. Run the following command in your terminal:

composer require cweagans/composer-patches

Once installed, you can start applying patches. These patches should be defined in your composer.json file. Here's an example:

"extra": {
    "patches": {
        "vendor/package": {
            "Patch description": "https://url/to/patch.patch"
        }
    }
}

In this example, a patch is applied to vendor/package. The patch file can be hosted anywhere accessible.

Where are the cweagans/composer-patches docs?

You can find the comprehensive documentation on using cweagans/composer-patches on their official documentation page. Visit https://docs.cweagans.net/composer-patches to learn more about its installation, configuration and use. It includes detailed instructions and examples to get you started, making it an excellent resource for both beginners and experienced developers alike. If you encounter any issues or have discussion topics, you can visit their GitHub Issues and Discussions pages at https://github.com/cweagans/composer-patches/issues and https://github.com/cweagans/composer-patches/discussions respectively.