PHPackages                             inquid/yii2-hue - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. inquid/yii2-hue

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

inquid/yii2-hue
===============

Yii2 Tools and Interface for Hue lights

05PHP

Since Jul 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/inquid/phpMyHue)[ Packagist](https://packagist.org/packages/inquid/yii2-hue)[ RSS](/packages/inquid-yii2-hue/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[![phpMyHue](img/phpmyhue.png)](img/phpmyhue.png)
=================================================

[](#)

Php web interface and api to manage Philips Hue lights in a local network.

Main Functionnalities
---------------------

[](#main-functionnalities)

- **Full group management**
- **Scenes update or creation**
- Manage and run xml **scripted effects** (debug mode available) ([see wiki](https://github.com/FredBardin/phpMyHue/wiki/Effects-scripts))
- **Full rules management** for sensors (simplified mode available for **Hue Tap** switch with on/off functionalities)
- Set color and/or brightness for a light or several at once
- Copy color settings between lights (copy to, copy from, switch with)
- Switch lights on/off
- Run simple effects
- **Multi Lang** (new translation files can be added and/or be submitted, [see wiki](https://github.com/FredBardin/phpMyHue/wiki/Multi-lang))
- Fully touch device compatible
- **Hue API class available** in 'include/hueapi.php' (see comments in file)
- **Hue cmd web service available** with 'hueapi\_cmd.php' (see comments in file and [wiki](https://github.com/FredBardin/phpMyHue/wiki/Web-services))
- Hue effects web service available with 'main.php' ([see wiki](https://github.com/FredBardin/phpMyHue/wiki/Web-services))
- ...

**Screenshots**

Lights
[![screenshot](pmh_lights.jpg)](pmh_lights.jpg)

Scenes in french
[![screenshot](pmh_scenes.png)](pmh_scenes.png)

Effects
[![screenshot](pmh_effects.png)](pmh_effects.png)

Rules (simple mode)
[![screenshot](pmh_rules_simple.png)](pmh_rules_simple.png)

Rules (advanced mode)
[![screenshot](pmh_rules_advanced.png)](pmh_rules_advanced.png)

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

[](#installation)

Yii2 Hue
========

[](#yii2-hue)

Yii2 Tools and Interface for Hue lights

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

[](#installation-1)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist inquid/yii2-hue "*"

```

or add

```
"inquid/yii2-hue": "*"

```

to the require section of your `composer.json` file.

2. Open a browser on your installation url, it should be something like "http://my\_web\_server/phpMyHue"
    - **Automatic configuration** begins (bridge detection, user creation, ...) : follow configuration informations in your browser

If you're asked to proceed manually because automatic setup failed to complete (ie. : local file writing not allowed from your web server), follow the displayed instructions or the ones below :

1. Rename 'include/config.tpl.php' as 'include/config.php'
2. Edit 'include/config.php' and put correct values for '$bridgeip', '$username' and, if needed, for '$lang'.
    - 'bridgeip' is the ip address of your hue bridge in your lan.
    - 'username' is a registered user in your hue bridge (cf ).
    - 'lang' references an existing 'lang/text\_"lang".json' file ('en' by default).

### Licence

[](#licence)

MIT

Includes the following plugins also used with MIT licence : jquery-ui, jquery-minicolors

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.1% 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/1505641?v=4)[Luis Gonzalez](/maintainers/gogl92)[@gogl92](https://github.com/gogl92)

---

Top Contributors

[![FredBardin](https://avatars.githubusercontent.com/u/12016689?v=4)](https://github.com/FredBardin "FredBardin (136 commits)")[![gogl92](https://avatars.githubusercontent.com/u/1505641?v=4)](https://github.com/gogl92 "gogl92 (4 commits)")

### Embed Badge

![Health badge](/badges/inquid-yii2-hue/health.svg)

```
[![Health](https://phpackages.com/badges/inquid-yii2-hue/health.svg)](https://phpackages.com/packages/inquid-yii2-hue)
```

PHPackages © 2026

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