PHPackages                             wagter/php-nefit-easy-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. wagter/php-nefit-easy-client

ActiveLibrary

wagter/php-nefit-easy-client
============================

A PHP client package to communicate with nefit-easy-server

021PHP

Since Apr 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/jrswgtr/php-nefit-easy-client)[ Packagist](https://packagist.org/packages/wagter/php-nefit-easy-client)[ RSS](/packages/wagter-php-nefit-easy-client/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Nefit Easy™ PHP HTTP client
===========================

[](#nefit-easy-php-http-client)

A PHP client package written for `robertklep/nefit-easy-http-server`, which is meant to be running at the same machine, or at least in the same network.

If you not already did, please proceed to follow the [instructions to install robertklep/nefit-easy-http-server](https://github.com/robertklep/nefit-easy-http-server).

Dependencies
------------

[](#dependencies)

This package needs a minimum version of PHP 7.2, php-curl and php-json. Except for, off course, a `robertklep/nefit-easy-http-server` installation, there are no 3rd party dependencies.

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

[](#installation)

Add to your project

```
$ composer require wagter/php-nefit-easy-client
```

Basic usage
-----------

[](#basic-usage)

To read and write [Wagter\\NefitEasyClient\\State\\State](https://github.com/jrswgtr/php-nefit-easy-client/blob/master/src/State/State.php) objects from and to the Nefit Easy server you will need a [Wagter\\NefitEasyClient\\StateManager\\StateMangerInterface](https://github.com/jrswgtr/php-nefit-easy-client/blob/master/src/StateManager/StateManagerInterface.php) instance. The default `StateMangerInterface` implementation is [Wagter\\NefitEasyClient\\StateManager\\StateManger](https://github.com/jrswgtr/php-nefit-easy-client/blob/master/src/StateManager/StateManager.php).

The `StateManager` class has two dependencies.

1. A [Wagter\\NefitEasyClient\\Client\\HttpClient](https://github.com/jrswgtr/php-nefit-easy-client/blob/master/src/Client/HttpClient.php) instance to load the data from the `nefit-easy-http-server` installation.
2. A [Wagter\\NefitEasyClient\\Normalizer\\Normalizer](https://github.com/jrswgtr/php-nefit-easy-client/blob/master/src/Normalizer/Normalizer.php) instance to normalize and denormalize the requested objects.

### Example

[](#example)

Let's say you want to adjust the manual room temperature to 19.5 degrees Celsius

```
use Wagter\NefitEasyClient\StateManager\StateManager;
use Wagter\NefitEasyClient\Client\CurlClient;
use Wagter\NefitEasyClient\Normalizer\MinMaxValueTemperatureStateNormalizer;
use Wagter\NefitEasyClient\State\HeatingCircuits\Hc1\TemperatureRoomManual;

$stateManager = new StateManager(
    new CurlClient( 'http://127.0.0.1:3000' ), // the default HttpClient implementation
    new MinMaxValueTemperatureStateNormalizer() // the Normalizer object
);

$tempRoomMan = $stateManager->read( TemperatureRoomManual::class );
$tempRoomMan->setValue( 19.5 );
$stateManager->write( $tempRoomMan );
```

Run the test
------------

[](#run-the-test)

Follow these steps to run the included test

### Download and install the package

[](#download-and-install-the-package)

```
$ git clone git@github.com:jrswgtr/php-nefit-easy-client.git
$ cd php-nefit-easy-client
$ composer install
```

### Start PHP's built-in web server

[](#start-phps-built-in-web-server)

```
$ php -S localhost:8000
```

### Run the test

[](#run-the-test-1)

Visit  in your browser.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

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/9ebee2095683b152f04c4b2453649a1ed729f07f6922c4847e85a379a71a7327?d=identicon)[wagter](/maintainers/wagter)

---

Top Contributors

[![jrswgtr](https://avatars.githubusercontent.com/u/10714678?v=4)](https://github.com/jrswgtr "jrswgtr (7 commits)")

### Embed Badge

![Health badge](/badges/wagter-php-nefit-easy-client/health.svg)

```
[![Health](https://phpackages.com/badges/wagter-php-nefit-easy-client/health.svg)](https://phpackages.com/packages/wagter-php-nefit-easy-client)
```

PHPackages © 2026

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