awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
webonyx avatar

webonyx/graphql-php

0
View on GitHub↗
4,717 星标·575 分支·PHP·MIT·11 次浏览webonyx.github.io/graphql-php↗

Graphql Php

该项目是 GraphQL 规范的 PHP 实现。它提供了一套用于构建处理查询和变更(mutations)服务器的工具,包括模式解析器、用于评估操作的执行引擎,以及用于操作抽象语法树(AST)的工具包。

该库的特色在于其专门的 AST 工具包,允许对 GraphQL 抽象语法树进行检查、修改和打印。它还包含一种延迟字段解析机制,以实现异步数据获取并防止阻塞主执行线程。

该实现涵盖了广泛的功能领域,包括通过模式定义语言(SDL)进行的模式管理、用于安全的基于规则的文档验证,以及确保符合规范响应的格式化错误处理。

Features

  • GraphQL Servers - Provides a full PHP implementation for building backend servers that process GraphQL queries and mutations.
  • Document Validation - Includes a rule-based validation system that checks GraphQL documents against a schema to ensure structural and type correctness.
  • GraphQL Document Validations - Implements a rule-based validation system that ensures GraphQL queries adhere to the defined schema before execution.
  • GraphQL AST Parsing - Provides the core mechanism for converting GraphQL query strings into abstract syntax trees for further processing.
  • Schema-Based Execution - Implements the core engine that maps GraphQL query fields to resolver functions based on the schema.
  • GraphQL Execution Engines - Implements the runtime engine that executes GraphQL operations against a schema to return data.
  • GraphQL Operation Processing - Handles the end-to-end lifecycle of parsing, validating, and resolving GraphQL operations.
  • GraphQL Schema Definitions - Provides the capability to define and map internal data models to a typed GraphQL schema.
  • SDL Parsers - Provides utilities to parse Schema Definition Language strings into executable GraphQL schema objects.
  • SDL Schema Generation - Generates functional GraphQL schema instances from SDL strings or parsed ASTs.
  • GraphQL Schema Parsing - Implements the core process of converting GraphQL schema definition language into an internal executable structure for query processing.
  • GraphQL Development Tooling - Offers a suite of programmatic utilities for inspecting and modifying GraphQL schemas and queries.
  • AST String Printing - Includes a utility to convert abstract syntax trees back into human-readable GraphQL strings.
  • AST Modification - Allows for the programmatic mutation and replacement of nodes within a GraphQL abstract syntax tree.
  • AST Visitor Patterns - Implements a visitor pattern for traversing and manipulating GraphQL abstract syntax trees.
  • GraphQL Deferred Fields - Provides a mechanism for deferred field resolution to enable asynchronous data fetching and prevent blocking the execution thread.
  • GraphQL AST Toolkits - Ships a specialized toolkit for the inspection, modification, and printing of GraphQL abstract syntax trees.
  • Schema SDL Printers - Provides a printer to export the internal schema representation into human-readable Schema Definition Language.
  • PHP GraphQL Tools - Reference implementation of GraphQL for PHP.

Star 历史

webonyx/graphql-php 的 Star 历史图表webonyx/graphql-php 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Graphql Php 的开源替代方案

相似的开源项目,按与 Graphql Php 的功能重合度排序。
  • rmosolgo/graphql-rubyrmosolgo 的头像

    rmosolgo/graphql-ruby

    5,448在 GitHub 上查看↗

    GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add

    Ruby
    在 GitHub 上查看↗5,448
  • graphql-rust/junipergraphql-rust 的头像

    graphql-rust/juniper

    5,963在 GitHub 上查看↗

    Juniper is a GraphQL server library and schema engine for Rust. It provides a toolkit for building type-safe APIs by mapping native Rust data structures to GraphQL objects, inputs, and scalars. The project functions as an execution engine that can process queries and mutations either through a network server or as a headless engine for local execution. The library is runtime-agnostic, allowing it to bridge GraphQL processing with various asynchronous Rust web frameworks. It includes a subscription framework that manages persistent WebSocket connections to push real-time data updates to client

    Rust
    在 GitHub 上查看↗5,963
  • strawberry-graphql/strawberrystrawberry-graphql 的头像

    strawberry-graphql/strawberry

    4,674在 GitHub 上查看↗

    Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations and dataclasses. It functions as an asynchronous GraphQL server and execution engine, providing a bridge to expose schemas across ASGI-compliant web frameworks such as FastAPI, Django, Flask, and Litestar. The project implements GraphQL Federation, allowing for the creation of distributed schemas and entities that merge into a unified supergraph across multiple services. It also includes a dedicated toolkit for the Relay specification, supporting global object identification a

    Pythonasgiasynciodjango
    在 GitHub 上查看↗4,674
  • apollographql/graphql-toolsapollographql 的头像

    apollographql/graphql-tools

    5,426在 GitHub 上查看↗

    graphql-tools is a toolkit for constructing, modifying, and combining GraphQL schemas. It provides a suite of utilities for parsing Schema Definition Language, managing resolver bindings, and assembling executable schemas. The project enables the composition of unified GraphQL gateways by merging multiple independent subschemas through schema stitching. This includes capabilities for entity type merging, type extension, and field resolution delegation to route requests across different services. The toolkit also includes a mocking engine that generates simulated GraphQL schemas and data. Thi

    TypeScript
    在 GitHub 上查看↗5,426
查看 Graphql Php 的所有 30 个替代方案→

常见问题解答

webonyx/graphql-php 是做什么的?

该项目是 GraphQL 规范的 PHP 实现。它提供了一套用于构建处理查询和变更(mutations)服务器的工具,包括模式解析器、用于评估操作的执行引擎,以及用于操作抽象语法树(AST)的工具包。

webonyx/graphql-php 的主要功能有哪些?

webonyx/graphql-php 的主要功能包括:GraphQL Servers, Document Validation, GraphQL Document Validations, GraphQL AST Parsing, Schema-Based Execution, GraphQL Execution Engines, GraphQL Operation Processing, GraphQL Schema Definitions。

webonyx/graphql-php 有哪些开源替代品?

webonyx/graphql-php 的开源替代品包括: rmosolgo/graphql-ruby — GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution… graphql-rust/juniper — Juniper is a GraphQL server library and schema engine for Rust. It provides a toolkit for building type-safe APIs by… strawberry-graphql/strawberry — Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations… apollographql/graphql-tools — graphql-tools is a toolkit for constructing, modifying, and combining GraphQL schemas. It provides a suite of… neelance/graphql-go — graphql-go is a server library for implementing GraphQL servers in Go. It provides the core infrastructure for schema… async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses…