PHPackages                             drdplus/lighting - 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. drdplus/lighting

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

drdplus/lighting
================

Effects of insufficient lighting or to bright light for Drd+

3.0.0(4y ago)01974MITPHPPHP &gt;=7.4

Since Jul 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/drdplusinfo/lighting)[ Packagist](https://packagist.org/packages/drdplus/lighting)[ RSS](/packages/drdplus-lighting/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (6)Versions (10)Used By (4)

Insufficient lighting and too bright light effects for [DrD+](http://www.altar.cz/drdplus/)
===========================================================================================

[](#insufficient-lighting-and-too-bright-light-effects-for-drd)

Is your torch enough? Are you not blind by daylight after day in dungeon?

[![Build Status](https://camo.githubusercontent.com/77425a079bef80cde0f1273af9efc7d6ff9cf4df0cf413ac0a4da0c2e84fe17e/68747470733a2f2f7472617669732d63692e6f72672f6a61726f736c61767479632f6472642d706c75732d6c69676874696e672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/jaroslavtyc/drd-plus-lighting)[![Test Coverage](https://camo.githubusercontent.com/3b64030087be390985ce3085ef2756705eb728554cd4a50a3815c45c8820a6e2/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a61726f736c61767479632f6472642d706c75732d6c69676874696e672f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/jaroslavtyc/drd-plus-lighting/coverage)[![License](https://camo.githubusercontent.com/5eb3ead35eff6897074b0ca51e0ab70561833995431169be72336db4920d4821/68747470733a2f2f706f7365722e707567782e6f72672f6472642d706c75732f6c69676874696e672f6c6963656e7365)](https://packagist.org/packages/drd-plus/lighting)

#### Warning - it distinct from PPH a bit

[](#warning---it-distinct-from-pph-a-bit)

Because we strongly disagree to get different results for same numbers just because simplified or extended rules are used, so this is why this library **rounds contrast** always by standard way, from half to up.

For details check our [resolution on PPH v1.1](https://github.com/jaroslavtyc/drd-plus-pph-v1-1/blob/master/opravy/p%C5%99%C3%ADklad_s_prudk%C3%BDm_sv%C4%9Btlem_podle_roz%C5%A1i%C5%99uj%C3%ADc%C3%ADch_pravidel_m%C3%A1_chybu.md#odli%C5%A1nosti-mezi-zjednodu%C5%A1en%C3%BDmi-a-roz%C5%A1i%C5%99uj%C3%ADc%C3%ADmi-pravidly-pro-vid%C4%9Bn%C3%AD)(in czech).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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 ~146 days

Recently: every ~239 days

Total

9

Last Release

1691d ago

Major Versions

1.0.x-dev → 2.0.02019-02-14

2.0.x-dev → 3.0.02021-09-27

PHP version history (2 changes)1.0.0PHP &gt;=7.1

3.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e35d11c9a75584084f0dc0ba1a3b6ff03355777809cbe8eabd20a88ac00f794?d=identicon)[jaroslavtyc](/maintainers/jaroslavtyc)

---

Top Contributors

[![jaroslavtyc](https://avatars.githubusercontent.com/u/2290225?v=4)](https://github.com/jaroslavtyc "jaroslavtyc (42 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisRector

### Embed Badge

![Health badge](/badges/drdplus-lighting/health.svg)

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

PHPackages © 2026

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