fredbradley/imcapi

PHP JSON API wrapper for the HPE IMC software to manage network switches

v1.0.8 2023-08-08 11:56 UTC

This package is auto-updated.

Last update: 2024-04-08 13:20:16 UTC


README

Latest Version on Packagist Build Status StyleCI Status Total Downloads

You can find more information about the HPE IMC here: https://support.hpe.com/hpesc/public/docDisplay?docId=emr_na-c05367573

Installation

You can install the package via composer:

composer require fredbradley/imcapi

Usage

This project is still very much a work in progress. The intention is that more default methods will be added.

$imc = new \FredBradley\IMCAPI\Imcapi("http://mydomain.tld:8080/imcrs/", "username", "pa55w0rd");

$listDevices = $imc->getDevices();
$anyOtherRequest = $imc->request('/endpoint');

You can see a list of valid endpoints on your device: http://mydomain.tld:8080/imcrs

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email code@fredbradley.uk instead of using the issue tracker.

Credits

License

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