add devices list and description

This commit is contained in:
Ibnu Maksum
2024-07-05 21:31:23 +07:00
parent 307abd64d3
commit b3b058df48
8 changed files with 123 additions and 1 deletions

View File

@ -13,6 +13,22 @@ use PEAR2\Net\RouterOS;
class MikrotikHotspot
{
// show Description
function description()
{
return [
'title' => 'Mikrotik Hotspot',
'description' => 'To handle connection between PHPNuxBill with Mikrotik Hotspot',
'author' => 'ibnux',
'url' => [
'Github' => 'https://github.com/hotspotbilling/phpnuxbill/',
'Telegram' => 'https://t.me/ibnux',
'Donate' => 'https://paypal.me/ibnux'
]
];
}
function add_customer($customer, $plan)
{
$mikrotik = $this->info($plan['routers']);