Mikrotik Yeni Kullanıcı Ekleme

<?php
use PEAR2\Net\RouterOS;

require_once 'PEAR2_Net_RouterOS-1.0.0b5.phar';

$util = new RouterOS\Util($client = new RouterOS\Client('192.168.0.1', 'admin', 'sifre'));

$util->setMenu('/ip hotspot user')->add(
    array(
        'name' => 'a',
        'password' => 'password1',
        'profile' => 'profile1'
    )
);

Yazar: admin