driesvints / sponsors

A package for PHP to interact with GitHub Sponsors.
MIT License
104 stars 6 forks source link

More sponsorship methods #9

Open driesvints opened 3 years ago

driesvints commented 3 years ago

Extend the API with even more useful methods:

// Check if driesvints has a sponsor listing...
$client->hasSponsorsListing('driesvints');

// Check if driesvints can sponsor nunomaduro...
$client->canSponsor('driesvints', 'nunomaduro');

// Check if driesvints is privately sponsored by nunomaduro...
$client->isPrivatelySponsoredBy('driesvints', 'nunomaduro');