PHPackages                             rutgerkirkels/domoticz-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. rutgerkirkels/domoticz-php

ActiveLibrary[API Development](/categories/api)

rutgerkirkels/domoticz-php
==========================

Library for connecting to Domoticz

v0.1.1-alpha(8y ago)3171MITPHP

Since Feb 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rutgerkirkels/DomoticzPHP)[ Packagist](https://packagist.org/packages/rutgerkirkels/domoticz-php)[ RSS](/packages/rutgerkirkels-domoticz-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

DomoticzPHP
===========

[](#domoticzphp)

PHP Library for connecting to Domoticz

With this library you can control lights, switches, thermostats and other home automation devices with PHP by connecting to [Domoticz](http://domoticz.com), the open-source Home Automation System.

**Installation**

> php composer.phar require rutgerkirkels/domoticz-php

**Basic usage**

```
// Initialize the Domoticz library with the hostname of the Domoticz machine.
// If you didn't set login credentials, you can leave the username and password
// attributes empty.

$client = new \rutgerkirkels\DomoticzPHP\Client('http://YOUR_DOMOTICZ_MACHINE:PORT', , );

// Get all lights and switches
$lightsAndSwitches = $client->getDevices('light');

// Get the status of a device
$device = $client->getDeviceByIdx();
echo $device->getStatus();

// When the device is a dimmer, get the current set level in percentages (return false of not a dimmer)
$level = $device->getLevel();

// Initiate a controller for this dimmer
$dimmerController = (new \rutgerkirkels\DomoticzPHP\Factories\ControllerFactory($device))->get();

// and turn it on...
$dimmerController->turnOn();

// and off again...
$dimmerController->turnOff();
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Every ~3 days

Total

2

Last Release

3064d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7009325?v=4)[Rutger Kirkels](/maintainers/rutgerkirkels)[@rutgerkirkels](https://github.com/rutgerkirkels)

---

Top Contributors

[![rutgerkirkels](https://avatars.githubusercontent.com/u/7009325?v=4)](https://github.com/rutgerkirkels "rutgerkirkels (35 commits)")

---

Tags

client-librarydomoticzphprest-apiclienthome automationdomoticsdomoticz

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rutgerkirkels-domoticz-php/health.svg)

```
[![Health](https://phpackages.com/badges/rutgerkirkels-domoticz-php/health.svg)](https://phpackages.com/packages/rutgerkirkels-domoticz-php)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[resend/resend-php

Resend PHP library.

596.2M35](/packages/resend-resend-php)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

72287.1k1](/packages/mozex-anthropic-laravel)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1942.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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