定制 hosterra/netbox 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

hosterra/netbox

最新稳定版本:3.1.4

Composer 安装命令:

composer require hosterra/netbox

包简介

NetBox PHP

关键字:

README 文档

README

netbox php license

NetBox PHP

A PHP "SDK" to use NetBox APIs.

>Note: this package is a fork of the Christian Bönning NetBox PHP package wich is itself a fork of the Wicked Software Corp. "Laravel NetBox" package; original credits go to them.

Installation

composer require hosterra/netbox-php

Environment Variables

The package requires 2 environment variables being set accessible through getenv()

VariableTypeDefaultDescription
NETBOX_APIstring""the NetBox API Endpoint (e.g. http://localhost:8080/api)
NETBOX_API_KEYstring""The NetBox API Key created from eg http://127.0.0.1:8080/user/api-tokens/

Example Usage

$api = new \Hosterra\NetBox\Api\IPAM\IpAddresses(new \Hosterra\NetBox\Client());
$result = $api->add([
    'address'  => '11.22.33.44/32',
    'dns_name' => 'foo.example.com'
]);

$result = $api->list(['address' => '11.22.33.44/32'])

Supported NetBox APIs

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-02-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固