lidskasila / graphql-php-schema-parser
PHP library for parsing GraphQL schema
Installs: 2 490
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:standalone
Requires
- php: >=7.0
Requires (Dev)
- consistence/coding-standard: ^0.12.0
- jakub-onderka/php-parallel-lint: ^0.9
- phing/phing: ^2.16
- phpstan/phpstan: ^0.6
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^2.7
This package is not auto-updated.
Last update: 2023-02-20 14:27:45 UTC
README
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);