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

ActiveLaravel-package

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 1mo ago

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

26

—

LowBetter than 43% of packages

Maintenance46

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

411d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/34e5ab141035bc585a42022ab12227f896b295a396f9c1a1a66d510341ec22e1?d=identicon)[ChipNeedham](/maintainers/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

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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