Add Paperless-ngx

This commit is contained in:
Steffen Lange 2024-04-28 11:22:35 +02:00
parent e3213a5eb9
commit 326476322b

14
modules/Paperless.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Paperless extends PatchBase {
function __construct() {
parent::__construct('Daniel Quinn & Jonas Winkler', 'Paperless-ngx', 'https://docs.paperless-ngx.com/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/paperless-ngx/paperless-ngx/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>