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.1.63(6mo ago)41.9M—7.3%1[1 issues](https://github.com/hyperf/constants/issues)20MITPHPPHP &gt;=8.1

Since Jun 19Pushed 6mo 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 1mo ago

READMEChangelog (10)Dependencies (5)Versions (59)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

58

—

FairBetter than 98% of packages

Maintenance61

Regular maintenance activity

Popularity44

Moderate usage in the ecosystem

Community33

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 57.5% 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 ~40 days

Total

58

Last Release

201d 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 (46 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 (9 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/di

A DI for Hyperf.

182.8M594](/packages/hyperf-di)[hyperf/crontab

A crontab component for Hyperf.

131.6M62](/packages/hyperf-crontab)[hyperf/watcher

Hot reload watcher for Hyperf

17846.7k27](/packages/hyperf-watcher)[hyperf/nacos

Nacos SDK

22487.9k10](/packages/hyperf-nacos)[hyperf/socketio-server

Socket.io implementation for hyperf

25130.9k6](/packages/hyperf-socketio-server)

PHPackages © 2026

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