PHP code example of milankragujevic / huawei-api

1. Go to this page and download the library: Download milankragujevic/huawei-api library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

milankragujevic / huawei-api example snippets



ter = new MilanKragujevic\HuaweiApi\Router;

$router->setAddress('192.168.8.1');

$router->login('admin', 'your-password');

var_dump($router->getStatus());