Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 22, 2024 via composer

cweagans/composer-patches 1.5.0

Provides a way to patch Composer packages.
Package summary
Share
2
issues
1
high severity
license
1
1
low severity
license
1
1
license
1
BSD
Package created
22 Apr 2015
Version published
28 Mar 2016
Maintainers
1
Total deps
1
Direct deps
0
License
BSD

Issues

2

1 high severity issue

high
Recommendation: Validate that the package complies with your license policy
via: cweagans/composer-patches@1.5.0
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: cweagans/composer-patches@1.5.0
Collapse
Expand

Licenses

BSD

Invalid
Not OSI Approved
1 Packages, Including:
cweagans/composer-patches@1.5.0
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

0
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

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.