承接 jwdr/zyxel 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jwdr/zyxel

Composer 安装命令:

composer require jwdr/zyxel

包简介

Allows remote reading of statistics of ZyXEL VMG8324-B10A

README 文档

README

Installation

The best way to add the library to your project is using composer.

{
    "require": {
        "jwdr/zyxel": "*"
    }
}

How it works

Create the needed parameter value objects:

$ipAddress = new \ValueObjects\Web\IPAddress('your-router-ip-address');
$portNumber = new \ValueObjects\Web\PortNumber(22);
$userName = new \ValueObjects\String\String('your-user-name');
$passWord = new \ValueObjects\String\String('your-password');

Instantiate the config object, and use it to create the connection

$ZyXELConfig = new \jwdr\ZyXEL\Config($ipAddress, $portNumber, $userName, $passWord);
$ZyXELConnection = new \jwdr\ZyXEL\Connection($ZyXELConfig);

Instantiate the ZyXEL object

$ZyXEL = new \jwdr\ZyXEL\ZyXEL($ZyXELConnection);

Finally ready to start reading information from the router!

Get the list of current known lan host devices

$lanHosts = $ZyXEL->lanHosts();

More to follow

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-31