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. [HTTP &amp; Networking](/categories/http)
4. /
5. wagter/php-nefit-easy-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

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 2w ago

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

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

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://avatars.githubusercontent.com/u/1654715?v=4)[wagter](/maintainers/wagter)[@wagter](https://github.com/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)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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