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

AbandonedLibrary[API Development](/categories/api)

xiaobe/graphql
==============

图表查询，服务变更

v2.0.0(2y ago)08Apache-2.0PHPPHP &gt;=7.2

Since Jul 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/xiaojiazheng/graphql)[ Packagist](https://packagist.org/packages/xiaobe/graphql)[ RSS](/packages/xiaobe-graphql/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (3)Versions (9)Used By (0)

图表查询和变更服务
=========

[](#图表查询和变更服务)

该本插件提供了在 Webman 环境下使用 Laravel ORM 模型进行图表查询和变更的功能。

安装
--

[](#安装)

通过 Composer 来安装该服务：

```
composer require xiaobe/graphql

```

查询配置
----

[](#查询配置)

本项目是webman插件，确认是否配置数据库连接即可

新建查询模型，继承`QueryModel`

新建一个控制器，实现`GraphQLService`抽象类

配置查询模型映射，即可启动

可选配置查询模型字段禁用

变更服务配置
------

[](#变更服务配置)

暂定

使用方法
----

[](#使用方法)

### 搭建服务

[](#搭建服务)

在控制器目录中创建一个新的控制器继承`GraphQLService`服务，实现两个set方法

在你的控制器里中定义查询模型映射和每个模型禁用的字段：

```

namespace  xiaobe\Graphql\test;

use xiaobe\Graphql\root\GraphQLService;

#### 介绍
webman库
请使用laraval ORM 其他自行兼容
php 7.4

#### 软件架构
软件架构说明

#### 安装教程

1.  xxxx
2.  xxxx
3.  xxxx

#### 使用说明

1.  xxxx
2.  xxxx
3.  xxxx

#### 参与贡献

1.  Fork 本仓库
2.  新建 Feat_xxx 分支
3.  提交代码
4.  新建 Pull Request

#### 特技

1.  使用 Readme\_XXX.md 来支持不同的语言，例如 Readme\_en.md, Readme\_zh.md
2.  Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3.  你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4.  [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目，是综合评定出的优秀开源项目
5.  Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6.  Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

许可证
该项目基于 MIT 许可证进行分发。更多信息请参阅 LICENSE 文件。

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

8

Last Release

1054d ago

Major Versions

v1.2.1 → v2.0.02023-08-14

PHP version history (2 changes)v1.0.0PHP &gt;=7.3

v1.0.1PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/103405644?v=4)[xiaojiazheng](/maintainers/xiaojiazheng)[@xiaojiazheng](https://github.com/xiaojiazheng)

---

Top Contributors

[![xiaojiazheng](https://avatars.githubusercontent.com/u/103405644?v=4)](https://github.com/xiaojiazheng "xiaojiazheng (20 commits)")

---

Tags

graphql

### Embed Badge

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

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

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M145](/packages/laravel-cashier)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k55.0M619](/packages/laravel-scout)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[api-platform/laravel

API Platform support for Laravel

58170.8k13](/packages/api-platform-laravel)

PHPackages © 2026

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