method createRepositoryRemote documentation in bbn\Api\Git
function(string $token, array $scope, string $api = '')
{
!empty($scope['name']) &&
(strlen($api) > 0)
){
//todo ceck create repository remote with this api for github
try{
$res = X::curl($api,json_encode($scope),[
'post' => 1,
'HTTPHEADER' => ['Authorization: token '.$token]
]);
return true;
}
catch(Exception $e) {
return false;
}
}
}
BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions