lib/GitHub/Receiver/Enterprise/ManagementConsole.php
public function upload(string $license, string $package, string $settings = ''): array
    {
        $this->getApi()->setApiUrl(sprintf('http://license:%s@%s', md5($license), $this->getHostname()));

        return $this->getApi()->request(sprintf('/setup/api/start -F package=@%s -F license=@%s -F settings=<%s',
            $package, $license, $settings), Request::METHOD_POST);
    }
public function upload(string $license, string $package, string $settings = ''): array
    {
        $this->getApi()->setApiUrl(sprintf('http://license:%s@%s', md5($license), $this->getHostname()));

        return $this->getApi()->request(sprintf('/setup/api/start -F package=@%s -F license=@%s -F settings=<%s',
            $package, $license, $settings), Request::METHOD_POST);
    }
public function upload ( string $ license , string $ package , string $ settings = '' ) : array { $ this -> getApi ( ) -> setApiUrl ( sprintf ( 'http://license:%s@%s' , md5 ( $ license ) , $ this -> getHostname ( ) ) ) ; return $ this -> getApi ( ) -> request ( sprintf ( '/setup/api/start -F package=@%s -F license=@%s -F settings=<%s' , $ package , $ license , $ settings ) , Request :: METHOD_POST ) ; }
Upload a license and software package for the first time

@link https://developer.github.com/v3/enterprise/management_console/#upload-a-license-and-software-package-for-the-first-time

@param string $license
@param string $package
@param string $settings

@return array
Upload a license and software package for the first time