PHPackages                             sunfoxcz/redfish-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sunfoxcz/redfish-client

ActiveLibrary[API Development](/categories/api)

sunfoxcz/redfish-client
=======================

PHP client for IPMI/Redfish API communication

00PHP

Since Jan 30Pushed 3mo agoCompare

[ Source](https://github.com/sunfoxcz/redfish-client)[ Packagist](https://packagist.org/packages/sunfoxcz/redfish-client)[ RSS](/packages/sunfoxcz-redfish-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Sunfox Redfish Client
=====================

[](#sunfox-redfish-client)

PHP client for IPMI/Redfish API communication.

Installation
------------

[](#installation)

```
composer require sunfox/redfish-client
```

Usage
-----

[](#usage)

```
use Sunfox\RedfishClient\Client;

$client = new Client(
    baseUrl: "https://192.168.x.x",
    username: "ADMIN",
    password: "password",
    timeout: 3.0,
    verifySsl: false,
);

// Get power state
$powerState = $client->getPowerState();
if ($powerState->isOn()) {
    echo "Server is ON\n";
}

// Get power consumption
$consumption = $client->getPowerConsumption();
echo "Current power: {$consumption->currentWatts}W\n";

// Get system info
$systemInfo = $client->getSystemInfo();
echo "Manufacturer: {$systemInfo->manufacturer}\n";
echo "Model: {$systemInfo->model}\n";

// Check if reachable
if ($client->isReachable()) {
    echo "Server is reachable\n";
}
```

Exception Handling
------------------

[](#exception-handling)

```
use Sunfox\RedfishClient\Exception\AuthenticationException;
use Sunfox\RedfishClient\Exception\ConnectionException;
use Sunfox\RedfishClient\Exception\RedfishException;

try {
    $powerState = $client->getPowerState();
} catch (AuthenticationException $e) {
    echo "Invalid credentials\n";
} catch (ConnectionException $e) {
    echo "Cannot connect to server\n";
} catch (RedfishException $e) {
    echo "Redfish API error: {$e->getMessage()}\n";
}
```

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance53

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/404311acad630d4698613e2ceae18f8b9b268aa1ed5eb73feb2a4f1679a29bf2?d=identicon)[sunfoxcz](/maintainers/sunfoxcz)

---

Top Contributors

[![foxycode](https://avatars.githubusercontent.com/u/1284781?v=4)](https://github.com/foxycode "foxycode (1 commits)")

### Embed Badge

![Health badge](/badges/sunfoxcz-redfish-client/health.svg)

```
[![Health](https://phpackages.com/badges/sunfoxcz-redfish-client/health.svg)](https://phpackages.com/packages/sunfoxcz-redfish-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
