Make sure to call {@link authenticate()} to download paid plugins.
public download ( string $url, null | string $destinationPath = null, null | integer $timeout = null ) : boolean | string | ||
$url | string | An absolute URL to the marketplace including domain. |
$destinationPath | null | string | |
$timeout | null | integer | Defaults to 60 seconds see {@link self::HTTP_REQUEST_METHOD} |
return | boolean | string | Returns the downloaded data or true if a destination path was given. |