Import source

This commit is contained in:
Steffen Lange 2019-07-15 22:27:48 +02:00
parent 50b489784d
commit 32b8c4cb56
34 changed files with 890 additions and 0 deletions

14
modules/Caddy.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Caddy extends PatchBase {
function __construct() {
parent::__construct('Matthew Holt', 'Caddy', 'https://caddyserver.com/');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/caddyserver/caddy/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>