PHPackages                             dsteiner23/phillips-hue-connection - 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. dsteiner23/phillips-hue-connection

ActiveLibrary[API Development](/categories/api)

dsteiner23/phillips-hue-connection
==================================

Phillips Hue API integration

2281PHP

Since Aug 16Pushed 9y ago2 watchersCompare

[ Source](https://github.com/dsteiner23/phillips-hue-connection)[ Packagist](https://packagist.org/packages/dsteiner23/phillips-hue-connection)[ RSS](/packages/dsteiner23-phillips-hue-connection/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Packagist License](https://camo.githubusercontent.com/b5924d4b515082b8e54cd79c8ac6f34a2cd87907b0c3e593dd80839d7cb39380/68747470733a2f2f706f7365722e707567782e6f72672f62617272797664682f6c61726176656c2d64656275676261722f6c6963656e73652e706e67)](http://choosealicense.com/licenses/mit/)[![Build Status](https://camo.githubusercontent.com/856b92e3bb231c32bfd8f4212ef74c660cf4470f46d6b49ad36583d8c68eae24/68747470733a2f2f7472617669732d63692e6f72672f64737465696e657232332f7068696c6c6970732d6875652d636f6e6e656374696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dsteiner23/phillips-hue-connection)[![Latest Stable Version](https://camo.githubusercontent.com/72aaba9b3ca2641489bad7e3ecd0fec5cb89da61c036c8b42038a8559b18c72d/68747470733a2f2f706f7365722e707567782e6f72672f64737465696e657232332f7068696c6c6970732d6875652d636f6e6e656374696f6e2f762f737461626c65)](https://packagist.org/packages/dsteiner23/phillips-hue-connection)

phillips-hue-connection
=======================

[](#phillips-hue-connection)

Provides basic functionality for the Philllips Hue debug API

**Installation**

```
composer require dsteiner23/phillips-hue-connection

```

**Autoloading**

Register vendor autoloader and doctrine somewhere in your bootstraping file

```
require __DIR__ . '/vendor/autoload.php';

```

**Configuration**

The configuration is optional and can be used to overwrite caching defaults

```
$config = [
    'cache_enabled' => false, // default to true
    'cache_dir' => __DIR__ . '/yourDir' // default to ROOT_DIR/cache
];

```

**Usage**

```
$lightSwitch = \DSteiner23\Light\Factory\LightSwitchFactory::build(
    '192.168.100.1',
    'abcedefghijklmno',
    $config
);

// Change saturation, brightness and color of a single bulb
$lightSwitch->switchState($id, $saturation, $brightness, $hue);

// Switches a single bulb on
$lightSwitch->switchOn($id);

// Switches a single bulb off
$lightSwitch->switchOff($id);

// Get an instance of DSteiner23\Light\Models\Lights, representing all Bulbs connected to the Bridge
$lightSwitch->getLights();

*$id: The unique Id of your Bulb
*$saturation: integer 0-255
*$brightness: integer 0-255
*$hue: The color 0 - 65000

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61.8% 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/167709237?v=4)[dsteiner23](/maintainers/dsteiner23)[@DSteiner23](https://github.com/DSteiner23)

---

Top Contributors

[![ribb3r](https://avatars.githubusercontent.com/u/10184405?v=4)](https://github.com/ribb3r "ribb3r (21 commits)")[![yndlingsfar](https://avatars.githubusercontent.com/u/8264387?v=4)](https://github.com/yndlingsfar "yndlingsfar (13 commits)")

### Embed Badge

![Health badge](/badges/dsteiner23-phillips-hue-connection/health.svg)

```
[![Health](https://phpackages.com/badges/dsteiner23-phillips-hue-connection/health.svg)](https://phpackages.com/packages/dsteiner23-phillips-hue-connection)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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