PHPackages                             friendsofhyperf/macros - 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. friendsofhyperf/macros

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

friendsofhyperf/macros
======================

The commonly used macros for Hyperf.

v3.1.76(5mo ago)035.0k↓16.7%1MITPHP

Since May 21Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/friendsofhyperf/macros)[ Packagist](https://packagist.org/packages/friendsofhyperf/macros)[ Fund](https://hdj.me/sponsors/)[ GitHub Sponsors](https://github.com/huangdijia)[ RSS](/packages/friendsofhyperf-macros/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (155)Used By (1)

Macros
======

[](#macros)

[![Latest Stable Version](https://camo.githubusercontent.com/f23f967f587eddfee4f948d83d85f3034b6acfcd216087faf1c449628d754433/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f667269656e64736f666879706572662f6d6163726f73)](https://packagist.org/packages/friendsofhyperf/macros)[![Total Downloads](https://camo.githubusercontent.com/c136eabc7bffa2767d8685781a4b66058a98969ed2f9f2a6540f42b989deb933/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f667269656e64736f666879706572662f6d6163726f73)](https://packagist.org/packages/friendsofhyperf/macros)[![License](https://camo.githubusercontent.com/acdbec907e3fb3a8b51852a4b3ca7478a8795aaaa8c2c52a6ed2eeae1bbca093/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f667269656e64736f666879706572662f6d6163726f73)](https://github.com/friendsofhyperf/macros)

The commonly used macros for Hyperf.

Installation
------------

[](#installation)

- Request

```
composer require friendsofhyperf/macros
```

Contact
-------

[](#contact)

- [Twitter](https://twitter.com/huangdijia)
- [Gmail](mailto:huangdijia@gmail.com)

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance72

Regular maintenance activity

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 98.6% 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 ~8 days

Recently: every ~2 days

Total

154

Last Release

165d ago

Major Versions

v2.0.19 → v3.0.0-rc.142022-09-20

v2.0.21 → v3.0.0-rc.152022-09-21

v2.0.22 → v3.0.0-rc.312022-11-28

v2.0.25 → v3.0.0-rc.462022-12-20

2.0.x-dev → v3.0.42023-01-24

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8337659?v=4)[Deeka Wong](/maintainers/huangdijia)[@huangdijia](https://github.com/huangdijia)

---

Top Contributors

[![huangdijia](https://avatars.githubusercontent.com/u/8337659?v=4)](https://github.com/huangdijia "huangdijia (141 commits)")[![binaryfire](https://avatars.githubusercontent.com/u/5361908?v=4)](https://github.com/binaryfire "binaryfire (1 commits)")[![xuanyanwow](https://avatars.githubusercontent.com/u/28777109?v=4)](https://github.com/xuanyanwow "xuanyanwow (1 commits)")

---

Tags

hyperfv3.1

### Embed Badge

![Health badge](/badges/friendsofhyperf-macros/health.svg)

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

###  Alternatives

[hyperf/crontab

A crontab component for Hyperf.

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

A DI for Hyperf.

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

A flexible database library.

202.8M257](/packages/hyperf-database)[hyperf/validation

hyperf validation

122.1M166](/packages/hyperf-validation)[friendsofhyperf/lock

The lock component for Hyperf.

1447.4k](/packages/friendsofhyperf-lock)

PHPackages © 2026

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