PatchBot/modules/MinIO.php
2021-03-13 12:16:51 +01:00

14 lines
334 B
PHP

<?php
class MinIO extends PatchBase {
function __construct() {
parent::__construct('MinIO Inc.', 'MinIO Object Storage', 'https://min.io/download');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/minio/minio/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>