PatchBot/modules/Traefik.php
2019-09-23 15:50:30 +02:00

14 lines
327 B
PHP

<?php
class Traefik extends PatchBase {
function __construct() {
parent::__construct('Containous', 'Traefik', 'https://traefik.io/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/containous/traefik/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>