PHPackages                             chipneedham/laravel-govee - 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. chipneedham/laravel-govee

ActiveLaravel-package[Utility &amp; Helpers](/categories/utility)

chipneedham/laravel-govee
=========================

integrating Govee with Laravel

v1.0.0(1y ago)00MITPHPPHP ^8.1

Since Mar 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ChipNeedham/laravel-govee)[ Packagist](https://packagist.org/packages/chipneedham/laravel-govee)[ RSS](/packages/chipneedham-laravel-govee/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel Govee Connector 💡
=========================

[](#laravel-govee-connector-)

A Laravel package for interacting with the Govee Smart Home API, allowing easy control and management of Govee smart devices. At the moment only lights are supported.

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

[](#installation)

You can install the package via Composer:

```
composer require chipneedham/laravel-govee
```

Configuration
-------------

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --tag="config"
```

This will create a `config/govee.php` file. Add your Govee API key to your `.env` file:

```
GOVEE_API_KEY=your_govee_api_key_here
```

### Getting an API key

[](#getting-an-api-key)

[See Govee's Docs](https://developer.govee.com/reference/apply-you-govee-api-key)

Usage
-----

[](#usage)

### Retrieving Devices

[](#retrieving-devices)

```
use Govee;

// Get all Govee devices
$devices = Govee::getDevices();

foreach ($devices as $device) {
    echo $device->name; // Device name
    echo $device->deviceId; // Device ID
}
```

### Device Control

[](#device-control)

```
// Turn a device on/off
$device->setPowerState(true); // Turn on
$device->setPowerState(false); // Turn off

// Set brightness (1-100)
$device->setBrightness(50);

// Set color using RGB
$device->setColor(255, 0, 0); // Red

// Set color using Hex
$device->setHexColor('#00FF00'); // Green

// Set white color temperature (2000-9000K)
$device->setWhiteTemperature(4000);
```

### Directly Accessing a Device

[](#directly-accessing-a-device)

```
// If you know the device ID and model
$specificDevice = Govee::getDevice('your-device-id', 'your-device-model');
```

### Rate Limits

[](#rate-limits)

Govee's rate limits are annoyingly low. Sorry.

EndpointLimitDeviceList10 per minuteDeviceControl10 per minute per deviceDeviceState10 per minute per deviceTotal Requests10000 per dayError Handling
--------------

[](#error-handling)

Error handling has a lot of work to be done, at the moment be sure to use trys. The package throws exceptions for invalid inputs or API errors:

```
try {
    $device->setBrightness(150); // Will throw an exception
} catch (\Exception $e) {
    // Handle error
    echo $e->getMessage();
}
```

Facade
------

[](#facade)

The package includes a `Govee` facade for easy access to the Govee API client.

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

[](#requirements)

- PHP 8.1+
- Laravel 10.x+
- Govee API Key

Security
--------

[](#security)

Please ensure your Govee API key is kept secure and not committed to version control.

Contributing
------------

[](#contributing)

Contributions are welcome! Please submit pull requests or file issues on the GitHub repository.

Support
-------

[](#support)

If you encounter any issues or have questions, please file an issue on the GitHub repository.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance42

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

463d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5779013?v=4)[Chip Needham](/maintainers/ChipNeedham)[@ChipNeedham](https://github.com/ChipNeedham)

---

Top Contributors

[![ChipNeedham](https://avatars.githubusercontent.com/u/5779013?v=4)](https://github.com/ChipNeedham "ChipNeedham (12 commits)")

### Embed Badge

![Health badge](/badges/chipneedham-laravel-govee/health.svg)

```
[![Health](https://phpackages.com/badges/chipneedham-laravel-govee/health.svg)](https://phpackages.com/packages/chipneedham-laravel-govee)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k91](/packages/nativephp-mobile)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.2k](/packages/venturedrake-laravel-crm)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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