About GraphQL

未匹配的标注

About GraphQL

GraphQL is a modern way to build HTTP APIs consumed by the web and mobile clients. It is intended to be a replacement for 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.

Great overview of GraphQL features and benefits is presented on the official website. All of them equally apply to this PHP implementation.

About graphql-php

graphql-php is a feature-complete implementation of GraphQL specification in PHP (5.5+, 7.0+). 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. Instead, it provides tools for creating rich API for your existing app.

Library features include:

Also, several complementary tools are available which provide integrations with existing PHP frameworks, add support for Relay, etc.

Current Status

The first version of this library (v0.1) was released on August 10th 2015.

The current version (v0.10) supports all features described by GraphQL specification (including April 2016 add-ons) as well as some experimental features like Schema Language parser and Schema printer.

Ready for real-world usage.

GitHub

Project source code is hosted on GitHub.

本文章首发在 LearnKu.com 网站上。

上一篇 下一篇
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 0
发起讨论 只看当前版本


暂无话题~