This is a PHP implementation of the GraphQL specification based on the reference implementation in JavaScript. GraphQL is a modern way to build HTTP APIs consumed by the web and mobile clients. It is intended to be an alternative to REST and SOAP APIs (even for existing applications). GraphQL itself is a specification designed by Facebook engineers. Various implementations of this specification were written in different languages and environments. A great overview of GraphQL features and benefits is presented on the official website. All of them equally apply to this PHP implementation. graphql-PHP is a feature-complete implementation of GraphQL specification in PHP. It was originally inspired by reference JavaScript implementation published by Facebook. This library is a thin wrapper around your existing data layer and business logic. It doesn't dictate how these layers are implemented or which storage engines are used.

Features

  • Primitives to express your app as a Type System
  • Validation and introspection of this Type System (for compatibility with tools like GraphiQL)
  • Parsing, validating and executing GraphQL queries against this Type System
  • Rich error reporting, including query validation and execution errors
  • Optional tools for parsing schema definition language
  • Tools for batching requests to backend storage

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow graphql-php

graphql-php Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of graphql-php!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Software Development Software, PHP Build Tools

Registered

2022-03-15