PHPackages                             germanozambelli/hassio-apiclient-php - 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. germanozambelli/hassio-apiclient-php

ActiveLibrary[API Development](/categories/api)

germanozambelli/hassio-apiclient-php
====================================

A simple client for hass.io API

v0.1(7y ago)4171[1 issues](https://github.com/GermanoZambelli/hassio-apiclient-php/issues)[2 PRs](https://github.com/GermanoZambelli/hassio-apiclient-php/pulls)MITPHPPHP &gt;=7.1

Since Jul 31Pushed 3y agoCompare

[ Source](https://github.com/GermanoZambelli/hassio-apiclient-php)[ Packagist](https://packagist.org/packages/germanozambelli/hassio-apiclient-php)[ RSS](/packages/germanozambelli-hassio-apiclient-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

 [![](https://camo.githubusercontent.com/fff35a741f410626c1c053a1c0fb1ad72d1e5a3fe97825505c744f9c64544e2f/68747470733a2f2f63646e2e696e73747275637461626c65732e636f6d2f4636352f573259442f4a373051545850502f463635573259444a373051545850502e4c415247452e6a7067)](https://camo.githubusercontent.com/fff35a741f410626c1c053a1c0fb1ad72d1e5a3fe97825505c744f9c64544e2f/68747470733a2f2f63646e2e696e73747275637461626c65732e636f6d2f4636352f573259442f4a373051545850502f463635573259444a373051545850502e4c415247452e6a7067)

Install
=======

[](#install)

```
$ composer require germanozambelli/hassio-apiclient-php

```

Api Client Configuration
========================

[](#api-client-configuration)

```
use GermanoZambelli\Hassio\Credentials\ApiCredentials;
use GermanoZambelli\Hassio\Hassio;

$apiCredentials = new ApiCredentials('http://ipaddress:port', 'password');
$hassio = new Hassio($apiCredentials);
```

Methods available for ApiCredentials
====================================

[](#methods-available-for-apicredentials)

### getConfig(): SimpleResponse

[](#getconfig-simpleresponse)

return the current hassio configuration

### validationConfigFiles(): ValidationConfigResponse

[](#validationconfigfiles-validationconfigresponse)

return the validity of the hassio configuration files

### callService(string $domain, string $service, array $data): SimpleResponse

[](#callservicestring-domain-string-service-array-data-simpleresponse)

call an hassio service

### turnOnEntity(Entity $entity): SimpleResponse

[](#turnonentityentity-entity-simpleresponse)

turn on an entity

### turnOffEntity(Entity $entity): SimpleResponse

[](#turnoffentityentity-entity-simpleresponse)

turn off an entity

### getEntitiesState(): EntitiesStateResponse

[](#getentitiesstate-entitiesstateresponse)

return list of all entities

Configurator Client Configuration
=================================

[](#configurator-client-configuration)

to use it you need to install [HASS CONFIGURATOR](https://www.home-assistant.io/addons/configurator) on hassio

```
use GermanoZambelli\Hassio\Credentials\ConfiguratorCredentials;
use GermanoZambelli\Hassio\Hassio;

$configuratorCredentials = new ConfiguratorCredentials('http://ipaddress:port', 'username', 'password');
$hassio = new Hassio(null, $configuratorCredentials);
```

Methods available for ConfiguratorCredentials
=============================================

[](#methods-available-for-configuratorcredentials)

### getConfigFile(string $fileName): SimpleResponse

[](#getconfigfilestring-filename-simpleresponse)

return a configuration file

### saveConfigFile(string $fileName, string $content): SaveConfigFileResponse

[](#saveconfigfilestring-filename-string-content-saveconfigfileresponse)

overwrite a configuration file

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2843d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/511753b9bc9037d4af0136bf6c124f8d767367d8d659a9807ef19ce5a3150ab1?d=identicon)[GermanoZambelli](/maintainers/GermanoZambelli)

---

Top Contributors

[![germanozambelli](https://avatars.githubusercontent.com/u/32094129?v=4)](https://github.com/germanozambelli "germanozambelli (10 commits)")

### Embed Badge

![Health badge](/badges/germanozambelli-hassio-apiclient-php/health.svg)

```
[![Health](https://phpackages.com/badges/germanozambelli-hassio-apiclient-php/health.svg)](https://phpackages.com/packages/germanozambelli-hassio-apiclient-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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