Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Composer Patches Laravel Package

cweagans/composer-patches

Apply and manage patch files to Composer dependencies. Lets you keep fixes and tweaks outside vendor/ while still using normal Composer updates, with support for multiple patches per package, remote patch URLs, descriptions, and CI-friendly installs.

View on GitHub
Deep Wiki
Context7

title: Overview weight: 10

In previous versions of Composer Patches, the plugin only had a certain set of functionality that couldn't really be modified. Now, much of the behavior of the plugin is accessible through APIs exposed to developers.

Capabilities

A capability is the name that Composer has given to individual components that implement a particular interface. For example, a Composer plugin might be capable of providing additional commands to the Composer console application. This process is documented by composer.

Composer Patches has declared a few additional capabilities that allow third-party plugins to extend the ability to find, download, and apply patches. Additional information may be found in the [Capabilities]({{< relref "capabilities.md" >}}) documentation.

Events

An event is emitted for various operations within the plugin. This allows you to hook into the process of resolving, downloading, or applying patches and perform some other action unrelated to the core functionality of the plugin. In some cases, you can alter data before handing it back to Composer Patches.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport