Composer

Composer is a tool for managing projects and dependencies in php.
· Lars Nielsen

composer-patches 2.0 on a Drupal Site: patches.lock.json, relock and repatch, and a Leftover From Version 1

"How do I apply a patch with Composer?" is one of the most-viewed Drupal questions on Stack Exchange, and the plugin behind the usual answer, cweagans/composer-patches, changed its workflow in version 2. This site upgraded to version 2.0 in August, as one of the build-tool upgrades before Drupal 11.

Read article composer-patches 2.0 on a Drupal Site: patches.lock.json, relock and repatch, and a Leftover From Version 1
· Lars Nielsen

The Allow-Plugins Security Prompt Is Composer's Best Feature and Its Most Annoying One

Somewhere in the middle of upgrading this site from Drupal 10 to 11, composer require drupal/core-recommended:^11 stopped and refused to install anything at all, not because of a version conflict this time, but because one of the packages it needed to pull in, symfony/runtime, ships a Composer plugin, and Composer plugins don't get to run just because they're in the de

Read article The Allow-Plugins Security Prompt Is Composer's Best Feature and Its Most Annoying One
Subscribe to Composer