composer-patches
WordPress Packagist
Our great sponsors
composer-patches | WordPress Packagist | |
---|---|---|
10 | 7 | |
1,472 | 691 | |
- | 0.9% | |
7.5 | 6.8 | |
4 days ago | about 1 month ago | |
PHP | PHP | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
composer-patches
-
Mechanics of (and ethics of) upgrading a PHP Joomla plugin
if you're using composer with joomla, and the plugin is installed via composer, you can commission someone to make the necessary changes, create a git diff patch that encapsulates the changes, then leverage cweagans/composer-patches to make it work. if/when new changes are necessary, they can build a new patch.
-
Laravel considered harmful
I've had problems with libraries using final having an API that isn't customizable enough in a particular way I need because I'm innovating in some way they could never have considered in the past, so my choice ends up either needing to fork the library or monkey patch it with https://github.com/cweagans/composer-patches so I can get rid of final so I can keep using it. They wouldn't accept a change in API or behaviour because it would break things for other users, etc.
-
Thoughts on running patches in production?
There are cool tools to integrate patches from drupal.org (or your own custom patches) into your composer managed drupal website. For example (not drupal specific but works well with drupal+composer): https://github.com/cweagans/composer-patches
-
Is there a way to apply a patch to an AUR package on the fly, without editing the PKGBUILD?
If the PR get's merged, I want `yay` or `pacman` to skip the patch. Ideally it would be declared in a pacman.patches file or similar to what https://github.com/cweagans/composer-patches provides for composer PHP package managment.
-
PSA for macOS users with composer workflows.
This has been an issue for a while, and is outlined here: - https://github.com/cweagans/composer-patches/issues/172#issuecomment-587147692 - https://github.com/cweagans/composer-patches/issues/326
-
Installing patches in Drupal 8
Install a package that allows the composer to work with patches:
- Procedure for critical dependency lagging behind?
-
Best way to handle a bug in a composer package?
And if for some reason you do not want to make a fork, you can also create a composer patch with the help of https://github.com/cweagans/composer-patches
-
Modifying a Package Controller
https://github.com/cweagans/composer-patches - this lets you patch packages when they are pulled in by Composer. I have used it in the past to get minor bugfixes into a project ASAP without having to wait for upstream or forking the entire package.
- troubles with dd or What are best practices for patching Symphony?
WordPress Packagist
-
How do you create WordPress websites for your clients?
If I have to use WordPress for something, I'll build it as a standard PHP project, requiring WordPress and any themes/plugins as a Composer dependencies from johnpbloch/wordpress and WordPress Packagist (more info here). If I need to do any significant templating, I like to use Timber.
- Fullstack but new to WP - Searching for answers
-
Is there a package.json equivalent but for plugins?
Use it together with https://wpackagist.org/ and you can update all plugins/themes by latest or by version number.
-
How to use Git for Wordpress sites?
Another option you can look at is Bedrock by Roots - that is sets WP as an app with composer already set up. It allows you to install WP plugins (from official WP repo) via composer (WP Packagist). The structure is set up to allow for git workflow. Also helpful if you want to make use of a bunch of composer packages on your site.
-
Looking for advice: installing plugin from GitHub on many sites for upgrade
https://wpackagist.org/ in the example you see "repositories", now in that array you can put your plugins github-link and set the other settings. with composer install you install them and with composer update you update them
- Backdoor in several WP Themes and Plugins from AccessPress
-
How should I update plugins in a Git-based workflow with Staging and Production environments?
Side question: I know that the WordPress ecosystem has been moving toward better support for Composer – e.g., with WPackagist. But wouldn't plugins installed/updated via Composer run into the same issue?
What are some alternatives?
Repman - Repman - PHP Repository Manager: packagist proxy and host for private packages
Packagist - Package Repository Website - try https://packagist.com if you need your own -
comments - Native comments for your Laravel application.
Spout - Read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way
ComposerRequireChecker - A CLI tool to check whether a specific composer package uses imported symbols that aren't part of its direct composer dependencies
Laminas API Tool Skeleton - Skeleton Application for Laminas API Tools
Composer Merge Plugin - Merge one or more additional composer.json files at Composer runtime
Phpactor - Mainly a PHP Language Server with more features than you can shake a stick at
composer-diff - Compares composer.lock changes and generates Markdown report so you can use it in PR description.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code