承接 fredbradley/aruba-central 相关项目开发

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

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

fredbradley/aruba-central

最新稳定版本:v0.0.11

Composer 安装命令:

composer require fredbradley/aruba-central

包简介

A PHP wrapper for the Aruba Central API

README 文档

README

For Laravel Applications

Latest Version on Packagist Total Downloads GitHub Actions

Installation & Requirements

This package requires PHP 8.3 and above.

You can install the package via composer:

composer require fredbradley/aruba-central

Usage

You will need to add the following to your .env file:

ARUBA_CLIENT_ID=""
ARUBA_CLIENT_SECRET=""
ARUBA_BASE_URL="" #EG: https://apigw-eucentral2.central.arubanetworks.com/
ARUBA_ACCESS_TOKEN=""
ARUBA_CREDENTIAL_ID=""
ARUBA_REFRESH_TOKEN=""

The config file is publishable, but you shouldn't need to change anything.

Usage

use FredBradley\ArubaCentral\ArubaCentral;

ArubaCentral::accessPoints()->all(); // Gets all access points
ArubaCentral::accessPoints()->findByMacAddress($mac); // Gets a specific access point by MAC address

ArubaCentral::wirelessClients()->all(); // Gets all wireless clients
ArubaCentral::wirelessClients()->findUser($username); // Gets all wireless client by username

This package uses the Saloon API package to make the HTTP requests. You can read more about that package here.

Testing

Not written yet

composer pest

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please either report here or if you don't have a Github account, email code@fredbradley.co.uk instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-09