Skip to content

Commit de42905

Browse files
authored
Add GitHub Sponsors funding configuration (#51)
* Add GitHub Sponsors funding configuration - Add FUNDING.yml to enable GitHub Sponsors button - Add GitHub Sponsors badge to README - Points to @dynamic organization sponsors page * Move sponsor badge to same line as CI badge, remove codecov badge * Add funding field to composer.json for GitHub Sponsors
1 parent 683576b commit de42905

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: [dynamic]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Recent Blog Posts Element for the SilverStripe Elemental module.
44

55
![CI](https://github.com/dynamic/silverstripe-elemental-blog/workflows/CI/badge.svg)
6-
[![codecov](https://codecov.io/gh/dynamic/silverstripe-elemental-blog/branch/master/graph/badge.svg)](https://codecov.io/gh/dynamic/silverstripe-elemental-blog)
6+
[![Sponsors](https://img.shields.io/badge/Sponsor-Dynamic-ff69b4?logo=github-sponsors&logoColor=white)](https://github.com/sponsors/dynamic)
77

88
[![Latest Stable Version](https://poser.pugx.org/dynamic/silverstripe-elemental-blog/v/stable)](https://packagist.org/packages/dynamic/silverstripe-elemental-blog)
99
[![Total Downloads](https://poser.pugx.org/dynamic/silverstripe-elemental-blog/downloads)](https://packagist.org/packages/dynamic/silverstripe-elemental-blog)

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
"homepage": "https://www.dynamicagency.com"
1717
}
1818
],
19+
"funding": [
20+
{
21+
"type": "github",
22+
"url": "https://github.com/sponsors/dynamic"
23+
}
24+
],
1925
"require": {
2026
"php": "^8.0",
2127
"dnadesign/silverstripe-elemental": "^5.0",

0 commit comments

Comments
 (0)