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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mhevo/phue-mhue
===============

Phue - Philips Hue PHP client

05PHP

Since Jan 15Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Phue - Philips Hue client
=========================

[](#phue---philips-hue-client)

[![Latest Stable Version](https://camo.githubusercontent.com/df87534b3959f5fc12f02e34dc2b20b5520b3622a02000fa016946f4c6e8f9b3/68747470733a2f2f706f7365722e707567782e6f72672f73716d6b2f506875652f76657273696f6e)](https://packagist.org/packages/sqmk/Phue)[![Build Status](https://camo.githubusercontent.com/e88df4ad8aa344b5f551845d841d648897a3b0e73ab822a2d5abf044249b2698/68747470733a2f2f6170692e7472617669732d63692e6f72672f73716d6b2f506875652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sqmk/Phue)

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

[](#introduction)

Phue is a PHP client used to connect to and manage the Philips Hue lighting system.

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 5.6+
- cURL extension (optional)

For PHP 5.3 support, please use Phue v1.6.x.

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

[](#installation)

The Phue library is available in Packagist. You'll want to include `sqmk/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:

```
