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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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