PHPackages                             samaphp/lifxlan - 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. samaphp/lifxlan

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

samaphp/lifxlan
===============

LIFX LAN protocol library

0.1.4(6y ago)112MITPHPPHP &gt;=7.1

Since Sep 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/samaphp/lifxlan)[ Packagist](https://packagist.org/packages/samaphp/lifxlan)[ RSS](/packages/samaphp-lifxlan/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

lifxlan
=======

[](#lifxlan)

LifxLan protocol. (Work in progress)

Note: This library is not ready for use in production. And does not cover all API capabilities. I just built it for my self to

**Setting light color by name:**

```
$light_ip = '192.168.1.x';
$Light = new Light($light_ip);
$brightness = 40;
$Light->setColorByName('white_warm', $brightness);

// Set light power on.
$Light->setPowerStatus('on');

// Set light power off.
$Light->setPowerStatus('off');
```

Advanced use:

```
// Set a custom value for the connection timeout.
$Light->setTimeout(2);

// Custom timeout per method.
$Light->setTimeout(1)->setColorByName('white_cool', 10);
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Every ~20 days

Total

5

Last Release

2391d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9233f415f42755f68dc3006e2853b76c34de54b04c9535202b70aa147790e6a?d=identicon)[samaphp](/maintainers/samaphp)

---

Top Contributors

[![samaphp](https://avatars.githubusercontent.com/u/531627?v=4)](https://github.com/samaphp "samaphp (25 commits)")

---

Tags

lifxlifx-lan-protocollifx-lightlifxlanlifxlan-protocollifxLifx LanLifx Lan Protocol

### Embed Badge

![Health badge](/badges/samaphp-lifxlan/health.svg)

```
[![Health](https://phpackages.com/badges/samaphp-lifxlan/health.svg)](https://phpackages.com/packages/samaphp-lifxlan)
```

###  Alternatives

[codefog/contao-events_subscriptions

events\_subscriptions extension for Contao Open Source CMS

102.7k](/packages/codefog-contao-events-subscriptions)

PHPackages © 2026

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