Initial MailGateway module structure
This commit is contained in:
commit
b7e5884457
3 files changed
+34
No files matched your search
@@ -0,0 +1,8 @@
|
||||
.DS_Store
|
||||
.idea/
|
||||
.vscode/
|
||||
.env
|
||||
.env.*
|
||||
/vendor/
|
||||
/composer.lock
|
||||
*.log
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Box\Mod\Mailgateway\Api;
|
||||
|
||||
class Admin extends \FOSSBilling\Api\AbstractApi
|
||||
{
|
||||
public function ping(array $data): array
|
||||
{
|
||||
return [
|
||||
'status' => 'ok',
|
||||
'module' => 'mailgateway',
|
||||
'version' => '0.1.0',
|
||||
];
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"id": "mailgateway",
|
||||
"type": "mod",
|
||||
"name": "Mail Gateway",
|
||||
"description": "Import incoming email into FOSSBilling support tickets.",
|
||||
"author": "Seb's Space",
|
||||
"version": "0.1.0",
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
Reference in New Issue
Block a user