PHPackages                             syntaxseed/phue - 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. syntaxseed/phue

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

syntaxseed/phue
===============

Phue - Philips Hue PHP client - Fork by SyntaxSeed - extra features, bug fixes.

v1.8.5(4y ago)024BSD-3-ClausePHPPHP 7.4.\*|8.\*

Since Dec 28Pushed 4y agoCompare

[ Source](https://github.com/syntaxseed/Phue)[ Packagist](https://packagist.org/packages/syntaxseed/phue)[ Docs](https://github.com/syntaxseed/Phue)[ RSS](/packages/syntaxseed-phue/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (45)Used By (0)

Phue - Philips Hue client - fork by SyntaxSeed
==============================================

[](#phue---philips-hue-client---fork-by-syntaxseed)

[![Latest OrigStable Version](https://camo.githubusercontent.com/7033990cb299d43710a7319ac5cde8706f39b157ae9195c16a8cfeaea28cbe56/68747470733a2f2f706f7365722e707567782e6f72672f73796e746178736565642f706875652f76657273696f6e)](https://packagist.org/packages/syntaxseed/phue)

Introduction
------------

[](#introduction)

Phue is a PHP client used to connect to and manage the Philips Hue lighting system. This package uses the Hue API version 1.

**NOTICE:** This project is a fork of `neoteknic/Phue` which is in turn a fork of `sqmk/Phue`. This documentation may contain incorrect package names.

It is currently registered with Packagist so that this library can easily be included in other projects. For example, one may want to bundle this library with Zend Framework or Symfony to build their own front-end for the Hue system.

The client has the ability to make full use of the Hue's API, including:

- Authenticating and managing users
- Managing bridge configuration
- Managing lights
- Managing groups
- Managing sensors
- Managing rules for sensors
- Managing schedules with various time patterns
- Managing software updates to the bridge and lights
- Getting portal configuration

Interested in API docs? You can check out the [Philips API documentation](http://www.developers.meethue.com/philips-hue-api)

Requirements
------------

[](#requirements)

- PHP 7.1+, 8.0+
- cURL extension (optional)

For old php support please use the original package by `sqmk/Phue`.

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

[](#installation)

The Phue library is available in Packagist. You'll want to include `syntaxseed/phue` as a dependency in your project using composer. If you are not familiar with composer, check it out here: [Composer](http://getcomposer.org)

You can also use this library without composer. The library directory is `library`. You'll want to map your namespace `Phue` to this directory in your autoloader of choice.

The scripts in `bin` and `examples` are dependent on composer's class/namespace mapper within `vendor`. You'll need to `composer install` from root directory of this repo to get those working.

After all the packages are installed, include composer's generated autoloader. The autoloader is `vendor/autoload.php`. An example of including this from the root directory of this repository:

```
