PHPackages                             goletter/hyperf-resource - 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. [API Development](/categories/api)
4. /
5. goletter/hyperf-resource

ActiveLibrary[API Development](/categories/api)

goletter/hyperf-resource
========================

A api resource component for hyperf.(based https://github.com/goletter/hyperf-resource)

v1.0.2(1y ago)0487↓26.9%1MITPHPPHP &gt;=8.0

Since Apr 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/goletter/hyperf-resource)[ Packagist](https://packagist.org/packages/goletter/hyperf-resource)[ RSS](/packages/goletter-hyperf-resource/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (1)

API 资源
======

[](#api-资源)

安装
--

[](#安装)

```
composer require goletter/hyperf-resource

```

简介
--

[](#简介)

当构建 API 时，你往往需要一个转换层来联结你的 Model 模型和实际返回给用户的 JSON 响应。资源类能够让你以更直观简便的方式将模型和模型集合转化成 JSON。

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance49

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

Total

2

Last Release

373d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa60d7a826c7b188008ba89d030a0bd0fd7eaa511794325b898ff33504c51ea4?d=identicon)[goletter](/maintainers/goletter)

---

Top Contributors

[![goletter](https://avatars.githubusercontent.com/u/24600575?v=4)](https://github.com/goletter "goletter (2 commits)")

---

Tags

phpresourcehyperf

### Embed Badge

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

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

###  Alternatives

[hyperf/swagger

A swagger library for Hyperf.

19338.7k6](/packages/hyperf-swagger)[hyperf/jet

Jet is a unification model RPC Client, built-in JSON RPC protocol, available to running in ALL PHP environments, including PHP-FPM and Swoole/Hyperf environments.

6119.1k](/packages/hyperf-jet)[kakuilan/hyperf-apihelper

hyperf api swagger helper

443.0k](/packages/kakuilan-hyperf-apihelper)[hyperf/graphql

A GraphQL component for hyperf.

151.0k](/packages/hyperf-graphql)

PHPackages © 2026

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