Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
composer
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2026 at 10:28 UTC
Updated:
14 May 2026 at 20:01 UTC
Jump to comment: Most recent
composer fund lists Composer dependencies that need funding.
It provides an easy way to find how to contribute financially to software you rely on.
Drupal core is not listed so people using Drupal can't easily find how to support Drupal financially.
Run composer fund in a Drupal project: drupal/core is not listed.
We could add a funding key: https://getcomposer.org/doc/04-schema.md#funding
It could point to https://www.drupal.org/association/donate.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
prudloff commentedComment #4
markconroy commentedIf we do this - I'm not particularly against it - would we need any policy on contrib developers being allowed to add a funding key to the composer.json of their modules? For example, could AI module add in a link for their donations page (if they had one)?
Comment #5
thejimbirch commentedWould we also want to add it to the following?
/composer/Template/LegacyProject/composer.json
/composer/Template/RecommendedProject/composer.json
Comment #6
smustgrave commentedThanks theJimBirch! Moving to Nw for the feedback
Comment #7
prudloff commentedI'm not sure it makes sense on the templates.
composer fundonly works for dependencies not in the root composer.json.Comment #8
prudloff commentedComment #9
smustgrave commentedneeds a rebase
Comment #10
prudloff commentedI rebased the MR.
Comment #11
smustgrave commentedSmall enough don't mind marking. Not sure if it needs product manager sign off or anything.
Comment #12
sivaji_ganesh_jojodae commentedWhile the merge request looks good from a technical perspective, I’m not certain whether this change aligns with the project’s policy.
Comment #13
larowlanCredited @longwave, @drumm and @hestenet who discussed this in Slack. Left a comment on the MR with the outcome of that conversation.
Comment #15
drummI’ve updated the URL, so this is ready to go from my point of view.
There is an open question about
"type": "community"vs."other". I think we can just leave it as"other"since that’s documented at https://getcomposer.org/doc/04-schema.md#funding and there wasn’t an explanation for diverging from the documentation.Comment #16
smustgrave commentedAgree it’s fine to leave as other. Thanks!
Comment #17
larowlanThere is a failure here in the ComposerIntegrationTest that seems to be down to the lock being out of date
Comment #18
prudloff commentedI updated the lock.
Comment #19
sivaji_ganesh_jojodae commentedThere is a git conflict in composer.lock file.
Comment #20
prudloff commentedI rebased the MR.
Comment #21
alexpottRe #4 plenty of contrib projects have funding stuff already in their composer.json - https://search.tresbien.tech/search?q=funding%20f%3Acomposer.json&num=50... - the way the funding thing in composer works encourages this. No policy needed.
Comment #22
alexpottCommitted d903091 and pushed to main. Thanks!
Committed 4330e9a and pushed to 11.x. Thanks!