lidskasila/graphql-php-schema-parser

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP library for parsing GraphQL schema

dev-master 2017-03-23 11:07 UTC

This package is not auto-updated.

Last update: 2023-02-20 14:27:45 UTC


README

Build Status Quality Score Code Coverage Downloads this Month

Library for PHP that can parse GraphQL text documentation to objects so they can be worked with afterwards.

Requirements

LidskaSila/GraphQLPHPSchemaParser requires PHP 7.0 or higher.

Installation

$ composer require lidskasila/graphql-php-schema-parser

Usage

$schemaString = file_get_contents('schema.graphqls');

$schema = SchemaParser::parseSchema($schemaString);