awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
webonyx avatar

webonyx/graphql-php

0
View on GitHub↗
4,717 stars·575 forks·PHP·MIT·26 viewswebonyx.github.io/graphql-php↗

Graphql Php

This project is a PHP implementation of the GraphQL specification. It provides a suite of tools for building servers that process queries and mutations, including a schema parser, an execution engine for evaluating operations, and a toolkit for manipulating abstract syntax trees.

The library differentiates itself through a specialized AST toolkit that allows for the inspection, modification, and printing of GraphQL abstract syntax trees. It also includes a mechanism for deferred field resolution to enable asynchronous data fetching and prevent blocking the primary execution thread.

The implementation covers broad capability areas including schema management via the schema definition language, rule-based document validation for security, and formatted error handling to ensure specification-compliant responses.

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 history

Star history chart for webonyx/graphql-phpStar history chart for webonyx/graphql-php

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Graphql Php

These projects share indexed features with Graphql Php. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • rmosolgo/graphql-rubyrmosolgo avatar

    rmosolgo/graphql-ruby

    5,448View on 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
    View on GitHub↗5,448
  • graphql-rust/junipergraphql-rust avatar

    graphql-rust/juniper

    5,963View on 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
    View on GitHub↗5,963
  • strawberry-graphql/strawberrystrawberry-graphql avatar

    strawberry-graphql/strawberry

    4,674View on 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
    View on GitHub↗4,674
  • apollographql/graphql-toolsapollographql avatar

    apollographql/graphql-tools

    5,426View on 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
    View on GitHub↗5,426
Compare all 30 related projects→

Frequently asked questions

What does webonyx/graphql-php do?

This project is a PHP implementation of the GraphQL specification. It provides a suite of tools for building servers that process queries and mutations, including a schema parser, an execution engine for evaluating operations, and a toolkit for manipulating abstract syntax trees.

What are the main features of webonyx/graphql-php?

The main features of webonyx/graphql-php are: GraphQL Servers, Document Validation, GraphQL Document Validations, GraphQL AST Parsing, Schema-Based Execution, GraphQL Execution Engines, GraphQL Operation Processing, GraphQL Schema Definitions.

Which projects share features with webonyx/graphql-php?

Projects with overlapping indexed features include: 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…