mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add funding field to composer.json
You can specify a list of funding options each with a type and URL. The type is used to specify the kind of funding or the platform through which funding is possible.
This commit is contained in:
parent
8fd70d2dc4
commit
5c4f524d6a
12 changed files with 136 additions and 0 deletions
|
@ -97,6 +97,9 @@ class ArrayLoaderTest extends TestCase
|
|||
'authors' => array(
|
||||
array('name' => 'Bob', 'email' => 'bob@example.org', 'homepage' => 'example.org', 'role' => 'Developer'),
|
||||
),
|
||||
'funding' => array(
|
||||
array('type' => 'example', 'url' => 'https://example.org/fund'),
|
||||
),
|
||||
'require' => array(
|
||||
'foo/bar' => '1.0',
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue