Initial commit

This commit is contained in:
root
2025-12-21 09:55:58 -05:00
committed by Sebastian Krupinski
commit 169b7b4c91
57 changed files with 10105 additions and 0 deletions

67
lib/Module.php Normal file
View File

@@ -0,0 +1,67 @@
<?php
namespace KTXM\MailManager;
use KTXF\Module\ModuleBrowserInterface;
use KTXF\Module\ModuleInstanceAbstract;
/**
* Mail Manager Module
*
* Provides unified mail sending and management across multiple providers
* with context-aware service discovery and queued delivery.
*/
class Module extends ModuleInstanceAbstract implements ModuleBrowserInterface
{
public function __construct()
{ }
public function handle(): string
{
return 'mail_manager';
}
public function label(): string
{
return 'Mail Manager';
}
public function author(): string
{
return 'Ktrix';
}
public function description(): string
{
return 'Mail management module for Ktrix - provides unified mail sending with provider abstraction and queue support';
}
public function version(): string
{
return '0.0.1';
}
public function permissions(): array
{
return [
'mail_manager' => [
'label' => 'Access Mail Manager',
'description' => 'View and access the mail manager module',
'group' => 'Mail Management'
],
];
}
public function registerBI(): array {
return [
'handle' => $this->handle(),
'namespace' => 'MailManager',
'version' => $this->version(),
'label' => $this->label(),
'author' => $this->author(),
'description' => $this->description(),
'boot' => 'static/module.mjs',
];
}
}