From c5ff69ed584449de3dbd01ecc0c145d80fa51fd2 Mon Sep 17 00:00:00 2001 From: Fabrizio Balliano Date: Wed, 3 Apr 2024 10:05:07 +0100 Subject: [PATCH] Added support for buy_me_a_coffee (#11902) --- src/Composer/Repository/Vcs/GitHubDriver.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Composer/Repository/Vcs/GitHubDriver.php b/src/Composer/Repository/Vcs/GitHubDriver.php index 44766a185..83c58887c 100644 --- a/src/Composer/Repository/Vcs/GitHubDriver.php +++ b/src/Composer/Repository/Vcs/GitHubDriver.php @@ -286,6 +286,9 @@ class GitHubDriver extends VcsDriver case 'community_bridge': $result[$key]['url'] = 'https://funding.communitybridge.org/projects/' . basename($item['url']); break; + case 'buy_me_a_coffee': + $result[$key]['url'] = 'https://www.buymeacoffee.com/' . basename($item['url']); + break; } }