PHPackages                             kuandd/graphql-resolve - 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. kuandd/graphql-resolve

ActiveLibrary[API Development](/categories/api)

kuandd/graphql-resolve
======================

Split the data relationship into classes depends on webonyx/graphql-php

0.2.4(6y ago)015[2 PRs](https://github.com/sandersyao/graphql-resolve/pulls)1MITPHPPHP &gt;=7.2

Since Jun 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sandersyao/graphql-resolve)[ Packagist](https://packagist.org/packages/kuandd/graphql-resolve)[ RSS](/packages/kuandd-graphql-resolve/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (6)Versions (11)Used By (1)

graphql-resolve
===============

[](#graphql-resolve)

GraphQL逻辑拆分

状态
--

[](#状态)

不稳定

最近于2019年9月份重写，简化掉构造逻辑和验证逻辑，并按照 graphql-php 作者建议的进行类型注册。

动机
--

[](#动机)

1. 研究 GraphQL 与 PHP 项目相结合的方法
2. 将用户自定义的类型拆分到不同的类型里
3. 将带有解析逻的的字段单独封装
4. 实现指令处理逻辑的抽象化封装

使用方法
----

[](#使用方法)

参照测试用例类型：tests/SchemaTest.php 中的实现

Laravel 框架结合使用的测试用例： tests/Laravel/RequestTest.php

需要要解决的问题
--------

[](#需要要解决的问题)

1. 对字段的错误输出进行控制
2. Laravel 构建 Schema 用的命令

本项目基于 webonyx/graphql-php 开发

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

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

Recently: every ~7 days

Total

7

Last Release

2395d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.1

0.2.2PHP &gt;=7.2

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

apigraphql

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kuandd-graphql-resolve/health.svg)

```
[![Health](https://phpackages.com/badges/kuandd-graphql-resolve/health.svg)](https://phpackages.com/packages/kuandd-graphql-resolve)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[ivome/graphql-relay-php

A PHP port of GraphQL Relay reference implementation

271632.4k5](/packages/ivome-graphql-relay-php)[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)[rubix/server

Deploy your Rubix ML models to production with scalable stand-alone inference servers.

632.3k](/packages/rubix-server)

PHPackages © 2026

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