PHPackages                             hyperf/constants - 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. hyperf/constants

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

hyperf/constants
================

A constants component for hyperf.

v3.2.0(3w ago)42.0M↓17.8%1[1 issues](https://github.com/hyperf/constants/issues)20MITPHPPHP &gt;=8.2

Since Jun 19Pushed 3w ago1 watchersCompare

[ Source](https://github.com/hyperf/constants)[ Packagist](https://packagist.org/packages/hyperf/constants)[ Docs](https://hyperf.io)[ Fund](https://hyperf.wiki/#/zh-cn/donate)[ Fund](https://opencollective.com/hyperf)[ RSS](/packages/hyperf-constants/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (10)Versions (60)Used By (20)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/hyperf/constants).

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance89

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 58.3% 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 ~44 days

Recently: every ~55 days

Total

59

Last Release

27d ago

Major Versions

1.1.x-dev → v2.0.02020-06-19

v2.2.15 → v3.0.0-alpha.12021-11-09

2.2.x-dev → v3.0.0-beta.12022-05-30

PHP version history (4 changes)v1.0.0PHP &gt;=7.2

v3.0.0-alpha.1PHP &gt;=8.0

v3.1.0-alpha.1PHP &gt;=8.1

v3.2.0-alpha.1PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44228082?v=4)[Hyperf Community](/maintainers/hyperf)[@hyperf](https://github.com/hyperf)

---

Top Contributors

[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (49 commits)")[![huangzhhui](https://avatars.githubusercontent.com/u/12077148?v=4)](https://github.com/huangzhhui "huangzhhui (14 commits)")[![huangdijia](https://avatars.githubusercontent.com/u/8337659?v=4)](https://github.com/huangdijia "huangdijia (10 commits)")[![sy-records](https://avatars.githubusercontent.com/u/33931153?v=4)](https://github.com/sy-records "sy-records (4 commits)")[![assert6](https://avatars.githubusercontent.com/u/28561563?v=4)](https://github.com/assert6 "assert6 (2 commits)")[![yansongda](https://avatars.githubusercontent.com/u/11869114?v=4)](https://github.com/yansongda "yansongda (1 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")[![minororange](https://avatars.githubusercontent.com/u/25793112?v=4)](https://github.com/minororange "minororange (1 commits)")[![smallsung](https://avatars.githubusercontent.com/u/7710878?v=4)](https://github.com/smallsung "smallsung (1 commits)")[![alexzy228](https://avatars.githubusercontent.com/u/33924470?v=4)](https://github.com/alexzy228 "alexzy228 (1 commits)")

---

Tags

coroutinehyperfswoolephpconstantshyperf

### Embed Badge

![Health badge](/badges/hyperf-constants/health.svg)

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

###  Alternatives

[hyperf/database

A flexible database library.

192.9M324](/packages/hyperf-database)[hyperf/http-server

A HTTP Server for Hyperf.

103.0M373](/packages/hyperf-http-server)[hyperf/di

A DI for Hyperf.

173.0M695](/packages/hyperf-di)[hyperf/crontab

A crontab component for Hyperf.

131.7M77](/packages/hyperf-crontab)[hyperf/watcher

Hot reload watcher for Hyperf

17904.9k31](/packages/hyperf-watcher)[hyperf/nacos

Nacos SDK

22523.4k18](/packages/hyperf-nacos)

PHPackages © 2026

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