With a newly added createSponsorship mutation to the GitHub GraphQL API it should be possible to integrate this into the library.
// Make the current authenticated user sponsor the target account...
$client->sponsor('driesvints');
It's only possible of course to start sponsorships from the authenticated account. So implementations of the Sponsorable trait should have their own token set.
With a newly added
createSponsorship
mutation to the GitHub GraphQL API it should be possible to integrate this into the library.It's only possible of course to start sponsorships from the authenticated account. So implementations of the
Sponsorable
trait should have their own token set.