Add Adminer & phpMyAdmin
This commit is contained in:
parent
37964163f7
commit
0508f3e72b
2 changed files with 28 additions and 0 deletions
14
modules/Adminer.php
Normal file
14
modules/Adminer.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Adminer extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Jakub Vrána', 'Adminer', 'https://www.adminer.org/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://api.github.com/repos/vrana/adminer/releases/latest', true))
|
||||
return $this->parse_json('tag_name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
14
modules/PhpMyAdmin.php
Normal file
14
modules/PhpMyAdmin.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class PhpMyAdmin extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('phpMyAdmin Contributors', 'phpMyAdmin', 'https://www.phpmyadmin.net/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://api.github.com/repos/phpmyadmin/phpmyadmin/releases/latest', true))
|
||||
return $this->parse_json('name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue