PHPackages                             windwalker/environment - 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. [Framework](/categories/framework)
4. /
5. windwalker/environment

ActiveWindwalker-package[Framework](/categories/framework)

windwalker/environment
======================

Windwalker Environment package

4.2.6(7mo ago)338.7k↓36.1%4MITPHPPHP &gt;=8.4.6CI passing

Since Oct 5Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/windwalker-io/environment)[ Packagist](https://packagist.org/packages/windwalker/environment)[ Docs](https://github.com/windwalker-io/environment)[ RSS](/packages/windwalker-environment/feed)WikiDiscussions master Synced 1mo ago

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

 [![Windwalker](https://user-images.githubusercontent.com/1639206/151679867-8df93936-e4af-4677-a6f3-eb33d27e038b.svg)](https://user-images.githubusercontent.com/1639206/151679867-8df93936-e4af-4677-a6f3-eb33d27e038b.svg)

Environment
-----------

[](#environment)

 Windwalker Environment package

 [![GitHub](https://camo.githubusercontent.com/af8694eb30c1445faac01f73a96ccd0fd694603138db52300f88bd439105f257/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77696e6477616c6b65722d696f2f656e7669726f6e6d656e743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/af8694eb30c1445faac01f73a96ccd0fd694603138db52300f88bd439105f257/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77696e6477616c6b65722d696f2f656e7669726f6e6d656e743f7374796c653d666c61742d737175617265) [![GitHub Workflow Status](https://camo.githubusercontent.com/61fdb149b508dc7d67b878cae8f92e63f7b032d2ff7af0eef2c3798505278863/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77696e6477616c6b65722d696f2f656e7669726f6e6d656e742f63692e796d6c3f6c6162656c3d74657374267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/61fdb149b508dc7d67b878cae8f92e63f7b032d2ff7af0eef2c3798505278863/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77696e6477616c6b65722d696f2f656e7669726f6e6d656e742f63692e796d6c3f6c6162656c3d74657374267374796c653d666c61742d737175617265) [![Packagist Downloads](https://camo.githubusercontent.com/e30f9c8ae13df91c8a30586aab6b64bfd5dde0996ff7e4b974482a9898f8f183/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77696e6477616c6b65722f656e7669726f6e6d656e743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e30f9c8ae13df91c8a30586aab6b64bfd5dde0996ff7e4b974482a9898f8f183/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77696e6477616c6b65722f656e7669726f6e6d656e743f7374796c653d666c61742d737175617265) [![Packagist Version](https://camo.githubusercontent.com/750d1d57a0f1f13706bc998e13c2f410392d70c51e99e8de12f6ba7c94061f9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696e6477616c6b65722f656e7669726f6e6d656e743f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/750d1d57a0f1f13706bc998e13c2f410392d70c51e99e8de12f6ba7c94061f9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696e6477616c6b65722f656e7669726f6e6d656e743f7374796c653d666c61742d737175617265)

### Installation

[](#installation)

```
composer require windwalker/environment ^4.0
```

### Resources

[](#resources)

- [Documentation](https://windwalker.io/documentation/components/environment/)
- [Bug report](https://github.com/windwalker-io/framework)
- [Contributing](https://github.com/windwalker-io/framework)
- [Discussion](https://github.com/windwalker-io/framework/discussions)

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance76

Regular maintenance activity

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity98

Battle-tested with a long release history

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

Recently: every ~0 days

Total

130

Last Release

218d ago

Major Versions

2.1.7 → 3.0-beta2016-07-04

3.x-dev → 4.x-dev2020-10-07

PHP version history (6 changes)2.0.0-alphaPHP &gt;=5.3.10

3.2PHP &gt;=5.5.9

3.5PHP &gt;=7.1.3

4.x-devPHP &gt;=8.0.0

4.1.0-beta1PHP &gt;=8.2.0

4.2.0-beta1PHP &gt;=8.4.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1639206?v=4)[Simon Asika](/maintainers/asika32764)[@asika32764](https://github.com/asika32764)

---

Top Contributors

[![asika32764](https://avatars.githubusercontent.com/u/1639206?v=4)](https://github.com/asika32764 "asika32764 (32 commits)")

---

Tags

browser-detectionenvironmentphp-environmentframeworkenvironmentwindwalker

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/windwalker-environment/health.svg)

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

###  Alternatives

[windwalker/renderer

Windwalker Renderer package

864.9M25](/packages/windwalker-renderer)[windwalker/edge

Windwalker Edge package

2820.1k10](/packages/windwalker-edge)

PHPackages © 2026

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